Blame SOURCES/0054-extensions-libipt_realm-Document-allowed-realm-value.patch

1dc35b
From 8b69d66b21f3699ee64c572bfba5df033ce768e0 Mon Sep 17 00:00:00 2001
1dc35b
From: Phil Sutter <phil@nwl.cc>
1dc35b
Date: Mon, 3 Dec 2018 14:52:28 +0100
1dc35b
Subject: [PATCH] extensions: libipt_realm: Document allowed realm values
1dc35b
1dc35b
Older versions of iptables allowed for negative realm values by accident
1dc35b
(they would be cast to unsigned). While this was clearly a bug, document
1dc35b
the fixed behaviour.
1dc35b
1dc35b
Signed-off-by: Phil Sutter <phil@nwl.cc>
1dc35b
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1dc35b
(cherry picked from commit 290d76b443bf24999d9caacb3fdd027d6e7112a1)
1dc35b
Signed-off-by: Phil Sutter <psutter@redhat.com>
1dc35b
---
1dc35b
 extensions/libipt_realm.man | 2 ++
1dc35b
 1 file changed, 2 insertions(+)
1dc35b
1dc35b
diff --git a/extensions/libipt_realm.man b/extensions/libipt_realm.man
1dc35b
index a40b1adc72ba2..72dff9b2e4212 100644
1dc35b
--- a/extensions/libipt_realm.man
1dc35b
+++ b/extensions/libipt_realm.man
1dc35b
@@ -5,3 +5,5 @@ setups involving dynamic routing protocols like BGP.
1dc35b
 Matches a given realm number (and optionally mask). If not a number, value
1dc35b
 can be a named realm from /etc/iproute2/rt_realms (mask can not be used in
1dc35b
 that case).
1dc35b
+Both value and mask are four byte unsigned integers and may be specified in
1dc35b
+decimal, hex (by prefixing with "0x") or octal (if a leading zero is given).
1dc35b
-- 
1dc35b
2.21.0
1dc35b