Update nftnlrdr_misc.h

Fix compiler warnings
This commit is contained in:
sven 2019-06-13 07:28:47 +02:00 committed by Thomas Bernard
parent 430b890c80
commit ee84a3949d
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ enum rule_chain_type {
RULE_CHAIN_REDIRECT, RULE_CHAIN_REDIRECT,
}; };
typedef struct rule_ { typedef struct rule_t {
LIST_ENTRY(rule_t) entry; LIST_ENTRY(rule_t) entry;
char * table; char * table;
char * chain; char * chain;
@ -74,7 +74,7 @@ typedef struct rule_ {
int index; int index;
} rule_t; } rule_t;
LIST_HEAD(rule_list, rule_); LIST_HEAD(rule_list, rule_t);
extern struct rule_list head_filter; extern struct rule_list head_filter;
extern struct rule_list head_redirect; extern struct rule_list head_redirect;
extern struct rule_list head_peer; extern struct rule_list head_peer;