]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: string: Do not print default --to value
authorPhil Sutter <phil@nwl.cc>
Wed, 8 Jun 2022 11:28:10 +0000 (13:28 +0200)
committerPhil Sutter <phil@nwl.cc>
Sat, 11 Jun 2022 09:47:03 +0000 (11:47 +0200)
commit1bfb1d916e467e2bcbc44ce1a50a2be5c12b7ef8
tree519654bbeaab68912a4d6788c161ea388facc739
parent276346f6659b700306070545f51c1a6060972f16
extensions: string: Do not print default --to value

Default value is UINT16_MAX, not 0. Fix the conditional printing.

Fixes: c6fbf41cdd157 ("update string match to reflect new kernel implementation (Pablo Neira)")
Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libxt_string.c