From: Phil Sutter Date: Mon, 3 Dec 2018 13:52:28 +0000 (+0100) Subject: extensions: libipt_realm: Document allowed realm values X-Git-Tag: v1.8.3~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=290d76b443bf24999d9caacb3fdd027d6e7112a1;p=thirdparty%2Fiptables.git extensions: libipt_realm: Document allowed realm values 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 Signed-off-by: Pablo Neira Ayuso --- diff --git a/extensions/libipt_realm.man b/extensions/libipt_realm.man index a40b1adc..72dff9b2 100644 --- a/extensions/libipt_realm.man +++ b/extensions/libipt_realm.man @@ -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).