summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-03-24 22:01:11 -0700
committervivek <vivek@cumulusnetworks.com>2016-03-24 22:38:40 -0700
commitca46a78e872a8a991e7dc262d44c6e68860cf127 (patch)
tree0b79ca7e61518d74ce37737d943426427b2e1889 /lib/command.c
parent1e22a2af507e0a51236d250e57145659754f81bb (diff)
Zebra: Fix handling of larger table-ids
Zebra code was not handling larger table-ids correctly. There were 2 issues: a) In the netlink interface, RTA_TABLE was never sent or processed. This pretty much limited the table-ids that zebra could understand to < 255. b) In the interface into the zebra RIB (in particular for protocols), there were some incorrect checks that again assumed the table id should be < 252 or be "main". This is valid only for the Default VRF (for now), for other VRFs, the table-id should be the value learnt from the kernel. These two issues are addressed with this change. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Ticket: CM-10087, CM-10091 Reviewed By: CCR-4359 Testing Done: Manual
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions