summaryrefslogtreecommitdiffstats
path: root/routing
diff options
context:
space:
mode:
Diffstat (limited to 'routing')
-rw-r--r--routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java4
-rw-r--r--routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java
index 31d371497..6f189af13 100644
--- a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java
+++ b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv4RoutePathParser.java
@@ -47,14 +47,14 @@ public interface Ipv4RoutePathParser extends RouteMapper {
final Ipv4RouteNamesFactory namesFactory) {
if (parsedHops.size() == 1) {
final FibPath path = parsedHops.get(0);
- if (RouteMapper.INSTANCE.isTableLookup(path)) return tableLookup(path);
+ if (RouteMapper.INSTANCE.isTableLookup(path)) return tableLookup();
if (RouteMapper.INSTANCE.isSpecialHop(path)) return specialHop(path);
return simpleHop(path, interfaceContext, mappingContext);
}
return hopList(routeName, parsedHops, interfaceContext, routeHopContext, mappingContext, namesFactory);
}
- static NextHopOptions tableLookup(final FibPath fibPath) {
+ static NextHopOptions tableLookup() {
return new TableLookupBuilder()
.setTableLookupParams(
new TableLookupParamsBuilder()
diff --git a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java
index 280a515e1..1c7243ce8 100644
--- a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java
+++ b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/Ipv6RoutePathParser.java
@@ -47,14 +47,14 @@ public interface Ipv6RoutePathParser extends RouteMapper {
final Ipv6RouteNamesFactory namesFactory) {
if (parsedHops.size() == 1) {
final FibPath path = parsedHops.get(0);
- if (RouteMapper.INSTANCE.isTableLookup(path)) return tableLookup(path);
+ if (RouteMapper.INSTANCE.isTableLookup(path)) return tableLookup();
if (RouteMapper.INSTANCE.isSpecialHop(path)) return specialHop(path);
return simpleHop(path, interfaceContext, mappingContext);
}
return hopList(routeName, parsedHops, interfaceContext, routeHopContext, mappingContext, namesFactory);
}
- static NextHopOptions tableLookup(final FibPath fibPath) {
+ static NextHopOptions tableLookup() {
return new TableLookupBuilder()
.setTableLookupParams(
new TableLookupParamsBuilder()