diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-09 20:30:34 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-09 20:30:34 +0200 |
commit | 3b0f6068a83da9aeb46e42c430afc7b9c8e79393 (patch) | |
tree | 6cb774bae659e22d5d9dd8487cbe8c4f891bea47 /lib/prefix.h | |
parent | lib, bgpd: Use 'struct prefix *' for filter matching (diff) | |
download | frr-3b0f6068a83da9aeb46e42c430afc7b9c8e79393.tar.xz frr-3b0f6068a83da9aeb46e42c430afc7b9c8e79393.zip |
lib: some final MAC access-list fixes
- couldn't load back written configs because it was trying to parse
"any" as MAC address
- don't need special-casing in filter_match_zebra(), exact is going to
be 0 for AF_ETHERNET anyway
- some vty formatting was slightly different
- is_zero_mac now static to prefix.c
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/prefix.h')
-rw-r--r-- | lib/prefix.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/prefix.h b/lib/prefix.h index ddd01af76..f0644ea88 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -276,7 +276,6 @@ union prefixconstptr { #endif /*s6_addr32*/ /* Prototypes. */ -extern int is_zero_mac(const struct ethaddr *mac); extern int str2family(const char *); extern int afi2family(afi_t); extern afi_t family2afi(int); |