diff options
Diffstat (limited to 'libxtables/getethertype.c')
-rw-r--r-- | libxtables/getethertype.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libxtables/getethertype.c b/libxtables/getethertype.c index a4c1407c..59949b79 100644 --- a/libxtables/getethertype.c +++ b/libxtables/getethertype.c @@ -42,8 +42,7 @@ #include <string.h> #include <netinet/ether.h> #include <net/ethernet.h> - -#include <ebtables/ethernetdb.h> +#include <xtables.h> #define MAXALIASES 35 @@ -56,7 +55,7 @@ static int ethertype_stayopen; static void setethertypeent(int f) { if (etherf == NULL) - etherf = fopen(_XT_PATH_ETHERTYPES, "r"); + etherf = fopen(XT_PATH_ETHERTYPES, "r"); else rewind(etherf); ethertype_stayopen |= f; @@ -79,7 +78,7 @@ static struct xt_ethertypeent *getethertypeent(void) register char *cp, **q; if (etherf == NULL - && (etherf = fopen(_XT_PATH_ETHERTYPES, "r")) == NULL) { + && (etherf = fopen(XT_PATH_ETHERTYPES, "r")) == NULL) { return (NULL); } |