From: Vincent Bernat Date: Thu, 18 Dec 2008 18:44:16 +0000 (+0100) Subject: Fix compilation without EDP X-Git-Tag: 0.3.1~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d2012fb3ba6c2cd868102386345e7ee607596ada;p=thirdparty%2Flldpd.git Fix compilation without EDP --- diff --git a/src/lldpd.c b/src/lldpd.c index f0b34a54..03d87670 100644 --- a/src/lldpd.c +++ b/src/lldpd.c @@ -107,8 +107,8 @@ struct sock_filter lldpd_filter_sonmp_f[] = { LLDPD_FILTER_SONMP_F }; { 0x15, 0, 1, 0x000000e0 }, \ { 0x6, 0, 0, 0x0000ffff }, \ { 0x6, 0, 0, 0x00000000 }, -#endif /* ENABLE_EDP */ struct sock_filter lldpd_filter_edp_f[] = { LLDPD_FILTER_EDP_F }; +#endif /* ENABLE_EDP */ #define LLDPD_FILTER_ANY_F \ { 0x28, 0, 0, 0x0000000c }, \ { 0x15, 0, 4, 0x000088cc }, \