Fix redirect panic
This commit is contained in:
parent
ebbe32588c
commit
07e21b9170
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ func (r *autoRedirect) cleanupNFTables() {
|
||||||
Name: r.tableName,
|
Name: r.tableName,
|
||||||
Family: nftables.TableFamilyINet,
|
Family: nftables.TableFamilyINet,
|
||||||
})
|
})
|
||||||
common.Must(r.configureOpenWRTFirewall4(nft, true))
|
_ = r.configureOpenWRTFirewall4(nft, true)
|
||||||
_ = nft.Flush()
|
_ = nft.Flush()
|
||||||
_ = nft.CloseLasting()
|
_ = nft.CloseLasting()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue