From ee84a3949d9ead7e6da63405fc9f0d7fb53ef9d2 Mon Sep 17 00:00:00 2001 From: sven Date: Thu, 13 Jun 2019 07:28:47 +0200 Subject: [PATCH] Update nftnlrdr_misc.h Fix compiler warnings --- miniupnpd/netfilter_nft/nftnlrdr_misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniupnpd/netfilter_nft/nftnlrdr_misc.h b/miniupnpd/netfilter_nft/nftnlrdr_misc.h index a097c8c..d24959d 100644 --- a/miniupnpd/netfilter_nft/nftnlrdr_misc.h +++ b/miniupnpd/netfilter_nft/nftnlrdr_misc.h @@ -43,7 +43,7 @@ enum rule_chain_type { RULE_CHAIN_REDIRECT, }; -typedef struct rule_ { +typedef struct rule_t { LIST_ENTRY(rule_t) entry; char * table; char * chain; @@ -74,7 +74,7 @@ typedef struct rule_ { int index; } rule_t; -LIST_HEAD(rule_list, rule_); +LIST_HEAD(rule_list, rule_t); extern struct rule_list head_filter; extern struct rule_list head_redirect; extern struct rule_list head_peer;