summaryrefslogtreecommitdiffstats
path: root/src/vnet/gre/gre.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/gre/gre.c')
-rw-r--r--src/vnet/gre/gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/gre/gre.c b/src/vnet/gre/gre.c
index 439c542b291..5b102ae3992 100644
--- a/src/vnet/gre/gre.c
+++ b/src/vnet/gre/gre.c
@@ -391,9 +391,9 @@ gre_get_fixup (fib_protocol_t fproto, vnet_link_t lt)
return (gre64_fixup);
if (fproto == FIB_PROTOCOL_IP4 && lt == VNET_LINK_IP4)
return (gre44_fixup);
- if (fproto == FIB_PROTOCOL_IP6 && lt == VNET_LINK_ETHERNET)
+ if (fproto == FIB_PROTOCOL_IP6)
return (grex6_fixup);
- if (fproto == FIB_PROTOCOL_IP4 && lt == VNET_LINK_ETHERNET)
+ if (fproto == FIB_PROTOCOL_IP4)
return (grex4_fixup);
ASSERT (0);