From ebe07dbc57436a1346eb6b6c7bfb0e971835f2f5 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 4c92805bef4..96195b67d25 100644 --- a/src/enum_net.cpp +++ b/src/enum_net.cpp @@ -395,20 +395,14 @@ namespace { case IFLA_OPERSTATE: std::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; }