We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a5b624 commit c033c2fCopy full SHA for c033c2f
nics.go
@@ -78,7 +78,7 @@ func getMainNic() string {
78
return "0.0.0.0"
79
}
80
81
- allIPv4, allIPv6 := extractIPAddrs(iface.Name, allAddresses, true)
+ allIPv4, _ := extractIPAddrs(iface.Name, allAddresses, true)
82
if len(allIPv4) == 1 && strings.ToLower(iface.Name) == "eth0" {
83
for _, ipWithMask := range allIPv4 {
84
ip := strings.Split(ipWithMask, "/")
0 commit comments