diff options
-rw-r--r-- | iptables/nft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iptables/nft.c b/iptables/nft.c index 9d20eb0e..1fca1f17 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -2311,7 +2311,7 @@ int nft_rule_list(struct nft_handle *h, const char *chain, const char *table, list = nft_chain_list_get(h, table); if (!list) - goto err; /* XXX: return 0 instead? */ + return 0; iter = nftnl_chain_list_iter_create(list); if (iter == NULL) @@ -2450,7 +2450,7 @@ int nft_rule_list_save(struct nft_handle *h, const char *chain, list = nft_chain_list_get(h, table); if (!list) - goto err; /* XXX: correct? */ + goto err; /* Dump policies and custom chains first */ if (!rulenum) |