summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-09-10 21:27:48 -0300
committerRenato Westphal <renato@opensourcerouting.org>2020-09-11 15:13:22 -0300
commit0d0aacea9590bcd08aa4f6622b9f54dba1902250 (patch)
tree2027acfdbbe80274d7aeb07deef422930402335a /zebra/kernel_socket.c
parent406537cb703c652ec275ae7e824efb2009634837 (diff)
staticd: fix display of the "nexthop-vrf" parameter of static routes
When the static route VRF and its nexthop VRF are inactive in the kernel, both VRFs will have the same ID (VRF_UNKNOWN) even though they might not be the same. This can cause "sh run" to not display the "nexthop-vrf" parameter correctly when necessary. Change the code to compare VRFs by their names to fix this problem. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions