mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-21 12:35:33 +03:00
dnsforward: imp code
This commit is contained in:
parent
a64fd6b3f0
commit
a1c0011273
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue