aboutsummaryrefslogtreecommitdiff
path: root/xlat/rtnl_netconf_attrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlat/rtnl_netconf_attrs.h')
-rw-r--r--xlat/rtnl_netconf_attrs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/xlat/rtnl_netconf_attrs.h b/xlat/rtnl_netconf_attrs.h
index 194aa586d..d1d7c873a 100644
--- a/xlat/rtnl_netconf_attrs.h
+++ b/xlat/rtnl_netconf_attrs.h
@@ -59,6 +59,13 @@ DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define NETCONFA_INPUT 7
#endif
+#if defined(NETCONFA_BC_FORWARDING) || (defined(HAVE_DECL_NETCONFA_BC_FORWARDING) && HAVE_DECL_NETCONFA_BC_FORWARDING)
+DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
+static_assert((NETCONFA_BC_FORWARDING) == (8), "NETCONFA_BC_FORWARDING != 8");
+DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
+#else
+# define NETCONFA_BC_FORWARDING 8
+#endif
#ifndef XLAT_MACROS_ONLY
@@ -78,6 +85,7 @@ const struct xlat rtnl_netconf_attrs[] = {
XLAT(NETCONFA_PROXY_NEIGH),
XLAT(NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN),
XLAT(NETCONFA_INPUT),
+ XLAT(NETCONFA_BC_FORWARDING),
XLAT_END
};