summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/socket_netlink_route_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/socket_netlink_route_util.cc')
-rw-r--r--test/syscalls/linux/socket_netlink_route_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/socket_netlink_route_util.cc b/test/syscalls/linux/socket_netlink_route_util.cc
index a4980a814..f68dbb649 100644
--- a/test/syscalls/linux/socket_netlink_route_util.cc
+++ b/test/syscalls/linux/socket_netlink_route_util.cc
@@ -227,7 +227,7 @@ PosixErrorOr<Link> LoopbackLink() {
PosixErrorOr<Link> EthernetLink() {
ASSIGN_OR_RETURN_ERRNO(auto links, DumpLinks());
for (const auto& link : links) {
- if (link.type == ARPHRD_ETHER) {
+ if (link.type == ARPHRD_ETHER || link.type == 772) {
return link;
}
}