diff options
author | 2025-03-06 14:20:14 -0500 | |
---|---|---|
committer | 2025-03-06 14:20:14 -0500 | |
commit | 7a2b536fb67b4e23eb6b10d4aab2eee5bdb34fbb (patch) | |
tree | 88c7ddc452125dab2b10bd7141eea750f81a81ce | |
parent | fabb2bf29df11396f3b79afb2f15e501d420671c (diff) |
session: fix lcl port allocation with fib
Type: fix
Change-Id: I0b0cc664cec2643a543a39cc7482292604381bf7
Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r-- | src/vnet/session/transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/transport.c b/src/vnet/session/transport.c index 015255ecf08..150be404674 100644 --- a/src/vnet/session/transport.c +++ b/src/vnet/session/transport.c @@ -592,6 +592,7 @@ transport_endpoint_mark_used (u8 proto, u32 fib_index, ip46_address_t *ip, /* Pool reallocs with worker barrier */ lep = transport_endpoint_alloc (); clib_memcpy_fast (&lep->ep.ip, ip, sizeof (*ip)); + lep->ep.fib_index = fib_index; lep->ep.port = port; lep->proto = proto; lep->refcnt = 1; |