diff options
author | Neale Ranns <nranns@cisco.com> | 2020-10-08 08:10:34 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-10-08 13:06:01 +0000 |
commit | 533bf08cf491a9b74cf761abf05709248a80b274 (patch) | |
tree | eb4d067136f9f5389fd47f44acbe12ce504e52b8 /src/vnet | |
parent | 0c25492eb42645f43e3fbbcf7407462429a03c65 (diff) |
gre: MPLS over GRE does not select correct fixup function
Type: fix
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: I9eff41407b0f172f2b567e6a4ea1c48be8df883a
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/gre/gre.c | 4 |
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); |