]> git.puffer.fish Git - matthieu/frr.git/commit
bfdd: update vrf of received packet
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 8 Jan 2021 09:38:04 +0000 (09:38 +0000)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Sat, 9 Jan 2021 13:29:45 +0000 (13:29 +0000)
commit134a53ec48255a492787a711a65693c7201201c7
treee638ebe143dddfbb2c73fa3e1b34f98fea188032
parent039c8158f33f75072433ab13f5c4fcb95c394d0b
bfdd: update vrf of received packet

on vrf-lite environment, all incoming bfd packets are received by the
same socket on the default namespace. the vrfid is not relevant and
needs to be updated based on the incoming interface where traffic has
been received. If the traffic is received from an interface belonging to
a separate vrf, update the vrfid value accordingly.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bfdd/bfd_packet.c