From 0b84deb11ce198f246f63c4156f8f65cbb6b07bc Mon Sep 17 00:00:00 2001 From: Vincent Fortier Date: Thu, 14 Apr 2022 14:00:23 +0000 Subject: [PATCH] Remove non-existant IFLA_* on non-x86_64 archs --- src/enum_net.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/enum_net.cpp b/src/enum_net.cpp index fe320552c89..7bd474b82b0 100644 --- a/src/enum_net.cpp +++ b/src/enum_net.cpp @@ -338,20 +338,14 @@ namespace { case IFLA_OPERSTATE: memcpy(&ret.oper_state, ptr, sizeof(int)); break; // ignore these attributes - case IFLA_CARRIER: case IFLA_ADDRESS: case IFLA_BROADCAST: case IFLA_QDISC: case IFLA_COST: - case IFLA_PRIORITY: - case IFLA_MASTER: case IFLA_WIRELESS: case IFLA_WEIGHT: case IFLA_LINKMODE: case IFLA_LINKINFO: - case IFLA_STATS64: - case IFLA_STATS: - case IFLA_PROMISCUITY: default: break; };