mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
We don't want lo and PPP in production
This commit is contained in:
@@ -214,7 +214,7 @@ func (f *NetworkFingerprint) findInterfaces(deviceName string) ([]*net.Interface
|
||||
}
|
||||
|
||||
for _, intf := range intfs {
|
||||
if f.isDeviceEnabled(&intf) && f.isDeviceLoopBackOrPointToPoint(&intf) && f.deviceHasIpAddress(&intf) {
|
||||
if f.isDeviceEnabled(&intf) && !f.isDeviceLoopBackOrPointToPoint(&intf) && f.deviceHasIpAddress(&intf) {
|
||||
interfaces = append(interfaces, &intf)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user