diff options
author | Phil Sutter <phil@nwl.cc> | 2020-07-10 21:12:34 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2020-07-24 19:16:05 +0200 |
commit | 7a700c47fe121c65c550ab24de3284abbb1e82f8 (patch) | |
tree | 31ef85bf89780d5f3e15934b2c961801db1dbbbc /iptables | |
parent | f63ce59726919147b62d0bcaa1a5c20291ab39a6 (diff) |
nft: Drop pointless nft_xt_builtin_init() call
When renaming a chain, either everything is in place already or the
command will bail anyway. So just drop this superfluous call.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables')
-rw-r--r-- | iptables/nft.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/iptables/nft.c b/iptables/nft.c index 52ee809b..e3811f5f 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -1937,8 +1937,6 @@ int nft_chain_user_rename(struct nft_handle *h,const char *chain, return 0; } - nft_xt_builtin_init(h, table); - /* Config load changed errno. Ensure genuine info for our callers. */ errno = 0; |