Skip to content

Commit

Permalink
Remove non-existant IFLA_* on non-x86_64 archs
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 authored and arvidn committed Apr 16, 2022
1 parent 07a5305 commit ebe07db
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/enum_net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ebe07db

Please sign in to comment.