mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Add a network test that sets up 2 of 4 ehternet devices, and allows another to use dhcp
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
5
vendor/github.com/vishvananda/netlink/protinfo.go
generated
vendored
5
vendor/github.com/vishvananda/netlink/protinfo.go
generated
vendored
@@ -46,8 +46,5 @@ func boolToByte(x bool) []byte {
|
||||
}
|
||||
|
||||
func byteToBool(x byte) bool {
|
||||
if uint8(x) != 0 {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return uint8(x) != 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user