summaryrefslogtreecommitdiff
path: root/lib/json.h
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-27 15:57:56 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-27 15:59:58 +0000
commit032bfaaf28f919b029835cd600ad12000ad77498 (patch)
tree429d643fa868d5bd5016eb60bb7b784e11a1b433 /lib/json.h
parent276887bb1c2961fa37b42ce7160346f1417577a8 (diff)
zebra: "ip import-table" display is hosed
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Ticket: CM-13020 Now that we have evpn we have the following AFIs /* Address family numbers from RFC1700. */ typedef enum { AFI_IP = 1, AFI_IP6 = 2, AFI_ETHER = 3, /* RFC 1700 has "6" for 802.* */ AFI_MAX = 4 } afi_t; The import-table code was treating the afi as a flag which was fine before when the only choices were 1 and 2 but now that we have #3 that doesn't work. The fix is to change zebra_import_table_used to a [AFI_MAX][ZEBRA_KERNEL_TABLE_MAX] array to track if import-table is enabled.
Diffstat (limited to 'lib/json.h')
0 files changed, 0 insertions, 0 deletions