Module: check_mk
Branch: master
Commit: 32b2f6e5dc8281ce22e392dcb9985dbf1fcef1a7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=32b2f6e5dc8281…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 13 16:34:56 2016 +0200
3377 FIX Network scan: The scan was broken when having no regex exclude patterns since
1.2.8b9
---
.werks/3377 | 9 +++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/3377 b/.werks/3377
new file mode 100644
index 0000000..caa26a7
--- /dev/null
+++ b/.werks/3377
@@ -0,0 +1,9 @@
+Title: Network scan: The scan was broken when having no regex exclude patterns since
1.2.8b9
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1460557992
+
diff --git a/ChangeLog b/ChangeLog
index 7ec53a2..4878a5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -257,6 +257,7 @@
* 3329 FIX: Function discover_services now allows the URL parameter mode...
* 3330 FIX: WATO Web-API now allows to specify root folder with / instead of empty
string again
* 3024 FIX: Fixed WATO GIT version control for older (<2.0) GIT versions
+ * 3377 FIX: Network scan: The scan was broken when having no regex exclude patterns
since 1.2.8b9
Notifications:
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 20e4c24..f915f6b 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -15278,7 +15278,7 @@ def excludes_by_regexes(addresses, exclude_specs):
patterns.append(re.compile(p))
if not patterns:
- return addresses
+ return []
excludes = []
for address in addresses: