mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-14 22:48:35 +03:00
fix linter issues
This commit is contained in:
parent
f8924f0785
commit
546a02b49e
2 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,7 @@ func CheckIfOtherDHCPServersPresentV4(ifaceName string) (bool, error) {
|
|||
}
|
||||
|
||||
if runtime.GOOS == "darwin" {
|
||||
return false, fmt.Errorf("Can't find DHCP server: not supported on macOS")
|
||||
return false, fmt.Errorf("can't find DHCP server: not supported on macOS")
|
||||
}
|
||||
|
||||
srcIP := ifaceIPNet[0]
|
||||
|
|
|
@ -374,6 +374,7 @@ func WithHWAddr(hwAddr net.HardwareAddr) ClientOpt {
|
|||
}
|
||||
}
|
||||
|
||||
// nolint
|
||||
func withBufferCap(n int) ClientOpt {
|
||||
return func(c *Client) (err error) {
|
||||
c.bufferCap = n
|
||||
|
|
Loading…
Add table
Reference in a new issue