]> git.ipfire.org Git - thirdparty/iptables.git/commit
ebtables: Change option values to avoid clashes
authorPhil Sutter <phil@nwl.cc>
Wed, 22 Nov 2023 02:05:19 +0000 (03:05 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 5 Dec 2023 15:35:37 +0000 (16:35 +0100)
commit79de02f8c20222adb5e837b074b1ce14d9c40189
treeda2a6cf40616c10ec467c8e4885aa9ba151b64b1
parent17a5f3ae86897f6c55bc90d3757f522daa734fc8
ebtables: Change option values to avoid clashes

In order to parse input using do_parse(), distinct ebtables option's
values have to be distinct from others. Since arptables uses values 2-8
already, resort to values >10.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/xtables-eb-translate.c
iptables/xtables-eb.c