diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-01-07 10:03:01 -0500 |
---|---|---|
committer | Paul Jakma <paul.jakma@hpe.com> | 2016-02-26 14:11:40 +0000 |
commit | 0490729cc033a3483fc6b0ed45085ee249cac779 (patch) | |
tree | fb2822462801e3bc82ae1425d065d3d5e4d71954 /lib | |
parent | 7748fdc757a2181649dd4956f2767545673ef28d (diff) | |
download | quagga-0490729cc033a3483fc6b0ed45085ee249cac779.tar.bz2 quagga-0490729cc033a3483fc6b0ed45085ee249cac779.tar.xz |
lib, bgpd, tests: Refactor FILTER_X in zebra.h
lib/zebra.h has FILTER_X #define's. These do not belong there.
Put them in lib/filter.h where they belong.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filter.h | 5 | ||||
-rw-r--r-- | lib/zebra.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/filter.h b/lib/filter.h index 37535cb1..e6ccd33b 100644 --- a/lib/filter.h +++ b/lib/filter.h @@ -25,6 +25,11 @@ #include "if.h" +/* Filter direction. */ +#define FILTER_IN 0 +#define FILTER_OUT 1 +#define FILTER_MAX 2 + /* Filter type is made by `permit', `deny' and `dynamic'. */ enum filter_type { diff --git a/lib/zebra.h b/lib/zebra.h index a9c76c6a..5f45a3a3 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -491,11 +491,6 @@ typedef enum { #define SAFI_MPLS_VPN 4 #define SAFI_MAX 5 -/* Filter direction. */ -#define FILTER_IN 0 -#define FILTER_OUT 1 -#define FILTER_MAX 2 - /* Default Administrative Distance of each protocol. */ #define ZEBRA_KERNEL_DISTANCE_DEFAULT 0 #define ZEBRA_CONNECT_DISTANCE_DEFAULT 0 |