summaryrefslogtreecommitdiff
path: root/lib/route/link
diff options
context:
space:
mode:
authorJoachim Wiberg <troglobit@gmail.com>2022-03-28 17:09:43 +0200
committerThomas Haller <thaller@redhat.com>2022-03-28 17:45:41 +0200
commit4e153bc272e52c7b759ab124ec17b7fe95a496a4 (patch)
treed15f95a3854139656f6e1d2f8b9a745ce6f16b32 /lib/route/link
parentb7256d3da8d7f63b9f0839fe0323da53860ac8a8 (diff)
downloadlibnl-4e153bc272e52c7b759ab124ec17b7fe95a496a4.tar.gz
route/link: add VLAN bridge binding flag
Adds support for the new VLAN_FLAG_BRIDGE_BINDING, for VLAN interfaces created on top of a VLAN aware bridge. For details, see the kernel patch: https://lore.kernel.org/netdev/20190418173535.22925-1-mmanning@vyatta.att-mail.com/ Signed-off-by: Joachim Wiberg <troglobit@gmail.com> https://github.com/thom311/libnl/pull/303
Diffstat (limited to 'lib/route/link')
-rw-r--r--lib/route/link/vlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/route/link/vlan.c b/lib/route/link/vlan.c
index a2c47334..f7e0ff06 100644
--- a/lib/route/link/vlan.c
+++ b/lib/route/link/vlan.c
@@ -641,6 +641,7 @@ static const struct trans_tbl vlan_flags[] = {
__ADD(VLAN_FLAG_GVRP, gvrp),
__ADD(VLAN_FLAG_LOOSE_BINDING, loose_binding),
__ADD(VLAN_FLAG_MVRP, mvrp),
+ __ADD(VLAN_FLAG_BRIDGE_BINDING, bridge_binding),
};
/**