]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: libipt_realm: Document allowed realm values
authorPhil Sutter <phil@nwl.cc>
Mon, 3 Dec 2018 13:52:28 +0000 (14:52 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 3 Dec 2018 14:06:29 +0000 (15:06 +0100)
Older versions of iptables allowed for negative realm values by accident
(they would be cast to unsigned). While this was clearly a bug, document
the fixed behaviour.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/libipt_realm.man

index a40b1adc72ba2f06d675861538217b6317eaaedc..72dff9b2e42124633ea8260470b8ac6b9e980e74 100644 (file)
@@ -5,3 +5,5 @@ setups involving dynamic routing protocols like BGP.
 Matches a given realm number (and optionally mask). If not a number, value
 can be a named realm from /etc/iproute2/rt_realms (mask can not be used in
 that case).
+Both value and mask are four byte unsigned integers and may be specified in
+decimal, hex (by prefixing with "0x") or octal (if a leading zero is given).