]> git.ipfire.org Git - thirdparty/iptables.git/commit
ebtables: trivial: Leverage C99-style initializers a bit more
authorPhil Sutter <phil@nwl.cc>
Thu, 23 Aug 2018 15:43:22 +0000 (17:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 24 Aug 2018 08:05:51 +0000 (10:05 +0200)
commit2c4e4d2a7432d483ac5599a15b36d1dc1edf72df
treed2954f4faf33739f82ee935182ebd78e3e0701a7
parent9f5b28acf21a0bd413c3295d951e25d5988b8844
ebtables: trivial: Leverage C99-style initializers a bit more

This nit was discovered when comparing do_commandeb() with
do_commandeb_xlate(): Since 'cs' is initialized upon declaration
already, initialization of field '.eb.bitmask' may be moved there as
well.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/xtables-eb.c