This commit is contained in:
Simon Zolin 2020-01-31 13:29:03 +03:00
parent 84b5708e71
commit fb476b0117

View file

@ -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) {