]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/missing.h
missing.h: Explicitly check for IFLA_BRPORT_PROXYARP 2694/head
authorDaniel Mack <daniel@zonque.org>
Mon, 22 Feb 2016 12:10:16 +0000 (13:10 +0100)
committerDaniel Mack <daniel@zonque.org>
Mon, 22 Feb 2016 12:22:30 +0000 (13:22 +0100)
commit26c34ab4eecb4a4e5166beadd393e3a4ec418d6a
tree77178595a8f5633a456b0ca4e414324446ee8626
parenta972e1e0b3af9dbe490c6433322c635d9e5ad875
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.
configure.ac
src/basic/missing.h