]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: xtoptions: Respect min/max values when completing ranges
authorPhil Sutter <phil@nwl.cc>
Fri, 26 Jan 2024 00:50:22 +0000 (01:50 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 2 Feb 2024 17:26:14 +0000 (18:26 +0100)
commita392cf0e9b11b01352d02e81fbd5ad4da49bce94
treefca7a2bfb9018dcc42a9a613d725fd318c65d194
parenta86eb41ef2987a9f99cb2ef644fbe2a2096d58b2
libxtables: xtoptions: Respect min/max values when completing ranges

If an extension defines a minimum/maximum valid value for an option's
range argument, treat this as the lower/upper boundary to use when
completing (half) open ranges.

Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libxt_NFQUEUE.t
libxtables/xtoptions.c