mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-30 23:06:27 +00:00
agent: Remove bogus check from list_interfaces() unit test
The unit test for list_interfaces() checks that the hardware address returned for each interface has non-zero length. However, that need not be the case. Point-to-point devices, such as ppp, or tun devices in certain configurations may not have a hardware address, which is represented as a zero length address here. This happens on my machine with a tun0 device created by OpenVPN. fixes #1377 Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
parent
7c888b34be
commit
3c618a61d6
1028
src/agent/src/netlink.rs
Normal file
1028
src/agent/src/netlink.rs
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user