mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-29 02:18:51 +03:00
linter
This commit is contained in:
parent
84b5708e71
commit
fb476b0117
1 changed files with 0 additions and 8 deletions
|
@ -13,14 +13,6 @@ import (
|
||||||
"github.com/AdguardTeam/golibs/log"
|
"github.com/AdguardTeam/golibs/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type netInterface struct {
|
|
||||||
Name string
|
|
||||||
MTU int
|
|
||||||
HardwareAddr string
|
|
||||||
Addresses []string
|
|
||||||
Flags string
|
|
||||||
}
|
|
||||||
|
|
||||||
// getValidNetInterfaces returns interfaces that are eligible for DNS and/or DHCP
|
// getValidNetInterfaces returns interfaces that are eligible for DNS and/or DHCP
|
||||||
// invalid interface is a ppp interface or the one that doesn't allow broadcasts
|
// invalid interface is a ppp interface or the one that doesn't allow broadcasts
|
||||||
func getValidNetInterfaces() ([]net.Interface, error) {
|
func getValidNetInterfaces() ([]net.Interface, error) {
|
||||||
|
|
Loading…
Reference in a new issue