networks can now be configured
Message-ID: <5a391932.pCFzzE5BbO0E2ed2%lm(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: 7a67bc11b760994ace7eee92ebfdf9fb241deee3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7a67bc11b76099…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Dec 19 14:43:44 2017 +0100
5583 Restrict agent access via IP address: IPv6 addresses/networks can now be configured
Change-Id: Iba9b006f55d6f2cc57c744154a59b73bbb55967e
---
.werks/5583 | 10 ++++++++++
web/htdocs/valuespec.py | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/5583 b/.werks/5583
new file mode 100644
index 0000000..a1df9e0
--- /dev/null
+++ b/.werks/5583
@@ -0,0 +1,10 @@
+Title: Restrict agent access via IP address: IPv6 addresses/networks can now be
configured
+Level: 1
+Component: wato
+Compatible: compat
+Edition: cre
+Version: 1.5.0i2
+Date: 1513691001
+Class: feature
+
+
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index 559a995..23a9f59 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -665,7 +665,7 @@ class IPNetwork(TextAscii):
def _ip_class(self):
- return ipaddress.IPInterface
+ return ipaddress.ip_interface
def validate_value(self, value, varprefix):