Skip to content

Commit c033c2f

Browse files
committed
underscore unused variable
1 parent 4a5b624 commit c033c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func getMainNic() string {
7878
return "0.0.0.0"
7979
}
8080

81-
allIPv4, allIPv6 := extractIPAddrs(iface.Name, allAddresses, true)
81+
allIPv4, _ := extractIPAddrs(iface.Name, allAddresses, true)
8282
if len(allIPv4) == 1 && strings.ToLower(iface.Name) == "eth0" {
8383
for _, ipWithMask := range allIPv4 {
8484
ip := strings.Split(ipWithMask, "/")

0 commit comments

Comments
 (0)