diff options
author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-03-03 02:58:38 +0100 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-05-14 21:19:12 +0200 |
commit | b26f891dca50643e68dc24f1a097438b80638dd4 (patch) | |
tree | e464f6df8412620fbf09c0435a0e141496ceee19 /lib/zebra.h | |
parent | Merge pull request #4335 from opensourcerouting/zebra-fpm-blackhole-info (diff) | |
download | frr-b26f891dca50643e68dc24f1a097438b80638dd4.tar.xz frr-b26f891dca50643e68dc24f1a097438b80638dd4.zip |
lib,bgpd,pbrd: Add AFI_UNSPEC to AFI enum
Add an upspecified option to the AFI enum and update
switch statements using it in bgpd and pbrd.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r-- | lib/zebra.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index b1ea43c74..3e1eefdb2 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -422,7 +422,13 @@ extern const char *zserv_command_string(unsigned int command); #endif /* Address family numbers from RFC1700. */ -typedef enum { AFI_IP = 1, AFI_IP6 = 2, AFI_L2VPN = 3, AFI_MAX = 4 } afi_t; +typedef enum { + AFI_UNSPEC = 0, + AFI_IP = 1, + AFI_IP6 = 2, + AFI_L2VPN = 3, + AFI_MAX = 4 +} afi_t; /* Subsequent Address Family Identifier. */ typedef enum { |