mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-13 14:34:35 +03:00
dnsforward: imp code
This commit is contained in:
parent
a64fd6b3f0
commit
a1c0011273
@ -56,9 +56,10 @@ func newIpsetHandler(
|
||||
return h, nil
|
||||
}
|
||||
|
||||
// close closes the Linux Netfilter connections.
|
||||
// close closes the Linux Netfilter connections. close can be called on a nil
|
||||
// handler.
|
||||
func (h *ipsetHandler) close() (err error) {
|
||||
if h.ipsetMgr != nil {
|
||||
if h != nil && h.ipsetMgr != nil {
|
||||
return h.ipsetMgr.Close()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user