summaryrefslogtreecommitdiffstats
path: root/routing/routing-impl
diff options
context:
space:
mode:
Diffstat (limited to 'routing/routing-impl')
-rw-r--r--routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/RouteMapper.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/RouteMapper.java b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/RouteMapper.java
index 68f245b26..8da15c1bd 100644
--- a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/RouteMapper.java
+++ b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/trait/RouteMapper.java
@@ -79,8 +79,7 @@ public interface RouteMapper extends AddressTranslator, ByteDataTranslator {
}
default boolean isTableLookup(@Nonnull final FibPath path) {
- // TODO - remove isDrop condition https://jira.fd.io/browse/VPP-995
- return path.isDrop == 1 && isArrayZeroed(path.nextHop);
+ return !isSpecialHop(path) && isArrayZeroed(path.nextHop);
}
default SpecialNextHopGrouping.SpecialNextHop specialHopType(final FibPath singlePath) {