]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_rnh.c
Zebra: Fix static NHT to work properly in a VRF
authorvivek <vivek@cumulusnetworks.com>
Fri, 26 Feb 2016 19:13:34 +0000 (19:13 +0000)
committervivek <vivek@cumulusnetworks.com>
Fri, 26 Feb 2016 19:13:34 +0000 (19:13 +0000)
commitd82ae0dedc6b995309a7590ed3bb6a17970206a8
tree03e606bb40e7577c1346c12bdb1de664ae49f31b
parentb4dd5eaaa10fe2c0996a5076fe28afd420447cf5
Zebra: Fix static NHT to work properly in a VRF

Implement VRF support for static nexthop resolution (NHT). This is
achieved by ensuring the correct VRF is passed as a parameter to
the NHT functions and is stored in the registered nexthop data
structure.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Ticket: CM-9457
Reviewed By: CCR-4185
Testing Done: Manual verification
zebra/zebra_rib.c
zebra/zebra_rnh.c
zebra/zebra_rnh.h
zebra/zebra_rnh_null.c