Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove non-existant IFLA_* on non-x86_64 archs #6806

Merged
merged 1 commit into from
Apr 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/enum_net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down