]> git.proxmox.com Git - mirror_iproute2.git/commit - bridge/fdb.c
bridge: fdb: add support to filter by vlan id
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Mon, 11 Apr 2016 15:45:14 +0000 (17:45 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 11 Apr 2016 21:52:47 +0000 (21:52 +0000)
commitae6eb9075fdfe1bf0804c9a9315a37e111e8e293
treeb2a49f98075ce53fdd37dd274a685955086529b6
parentf1c656e5c0f0bed919a87856e3916116e6e4c2a4
bridge: fdb: add support to filter by vlan id

Add the optional keyword "vlan" to bridge fdb show so the user can request
filtering by a specific vlan id. Currently the filtering is implemented
only in user-space. The argument name has been chosen to match the
add/del one - "vlan".

Example:
$ bridge fdb show vlan 400
52:54:00:bf:57:16 dev eth2 vlan 400 master br0 permanent

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
bridge/fdb.c