chiark / gitweb /
missing.h: Explicitly check for IFLA_BRPORT_PROXYARP
authorDaniel Mack <daniel@zonque.org>
Mon, 22 Feb 2016 12:10:16 +0000 (13:10 +0100)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:57 +0000 (10:12 +0200)
commit8427979c98b25b8e3c9c848adbd01c8196b2f93a
tree19da3dbb7d451eca4736d8f3e4d287a1ca29d6e1
parent311ae73278ba8d7c772cea1e34e93cb36e47c985
missing.h: Explicitly check for IFLA_BRPORT_PROXYARP

RHEL explicitly disables IFLA_BRPORT_PROXYARP by renaming the enum value.

In order to support unpatched builds, we have two options:

a) redefine the enum value through missing.h and ignore the fact that it
   is really unsupported, or

b) omit that enum value on rtnl_prot_info_bridge_port_types[]

As we are not actually using this netlink type anywhere, and because it
is only hooked up for the sake of completeness, this patch opts for the
former.
src/basic/missing.h