]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bridge: vlan: add support for vlan filtering when dumping options
authorNikolay Aleksandrov <nikolay@nvidia.com>
Sat, 28 Aug 2021 11:07:51 +0000 (14:07 +0300)
committerDavid Ahern <dsahern@kernel.org>
Wed, 1 Sep 2021 03:21:09 +0000 (21:21 -0600)
commitecf6d8b4a1c5532040943620ec035aeec63c3e15
tree739d026a7c6d2ae06c979afd8171cd99aaacf19a
parent720f8613bd161253fc115b8e93f02a2d5f98c04b
bridge: vlan: add support for vlan filtering when dumping options

In order to allow vlan filtering when dumping options we need to move
all print operations into the option dumping functions and add the
filtering after we've parsed the nested attributes so we can extract the
start and end vlan ids.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
bridge/vlan.c