]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: rename ibrportname, obrportname
authorFlorian Westphal <fw@strlen.de>
Fri, 13 Apr 2018 12:36:32 +0000 (14:36 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 17 Apr 2018 21:23:06 +0000 (23:23 +0200)
commit3baa28f24b3d70a7ee17d584c113a2c4e057a565
treec42914610e573bb441505820a1e6ff9eb10f5288
parentce2cc622cb110952323cd310046505653e406193
src: rename ibrportname, obrportname

For bridge, iifname is the port name, whereas 'ibrport' is the
logical name of the bridge ("br0") the port ("iifname") is enslaved to.

So, 'ibrport' is a misnomer.

libnftl calls these 'bri_iifname' and 'bri_oifname', which is good
but using 'briiifname' in nft is rather ugly, so use 'ibridgename'
and 'obridgename' instead.

Old names are still recognized, listing shows the new names.

Signed-off-by: Florian Westphal <fw@strlen.de>
doc/nft.xml
src/meta.c
src/parser_bison.y
src/scanner.l
tests/py/bridge/meta.t [new file with mode: 0644]
tests/py/bridge/meta.t.payload [new file with mode: 0644]
tests/py/inet/meta.t
tests/py/ip/meta.t