use of org.batfish.representation.juniper.Route6FilterLineLonger in project batfish by batfish.
the class ConfigurationBuilder method enterPopsfrf_longer.
@Override
public void enterPopsfrf_longer(Popsfrf_longerContext ctx) {
if (_currentRouteFilterPrefix != null) {
// ipv4
Route4FilterLine line = new Route4FilterLineLonger(_currentRouteFilterPrefix);
_currentRouteFilterLine = _currentRouteFilter.insertLine(line, Route4FilterLine.class);
} else if (_currentRoute6FilterPrefix != null) {
// ipv6
Route6FilterLine line = new Route6FilterLineLonger(_currentRoute6FilterPrefix);
_currentRoute6FilterLine = _currentRouteFilter.insertLine(line, Route6FilterLine.class);
}
}
Aggregations