Skip to content

Commit 384bc49

Browse files
authored
Add eth1 to supported interfaces (#448)
We have a use case for servers with an eth1 interface.
1 parent d08e39b commit 384bc49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/netutil/netutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
// _supportedInterfaces is an ordered list of ip interfaces from which
2424
// host ip is determined.
25-
var _supportedInterfaces = []string{"eth0", "ib0", "eth2"}
25+
var _supportedInterfaces = []string{"eth0", "ib0", "eth1", "eth2"}
2626

2727
func min(a, b time.Duration) time.Duration {
2828
if a < b {

0 commit comments

Comments
 (0)