DNS Mismatch report incorrectly trimmed domain_suffix
This commit is contained in:
@@ -1,4 +1,10 @@
|
|||||||
2.028006
|
2.028006 - 2014-07-21
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* DNS Mismatch report incorrectly trimmed domain_suffix
|
||||||
|
|
||||||
|
2.028006 - 2014-07-21
|
||||||
|
|
||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,8 @@ SELECT *
|
|||||||
FROM device
|
FROM device
|
||||||
WHERE dns IS NULL
|
WHERE dns IS NULL
|
||||||
OR name IS NULL
|
OR name IS NULL
|
||||||
OR lower(trim(TRAILING ?
|
OR regexp_replace(lower(dns), ? || '$', '')
|
||||||
FROM dns)::text) != lower(trim(TRAILING ?
|
!= regexp_replace(lower(name), ? || '$', '')
|
||||||
FROM name)::text)
|
|
||||||
ENDSQL
|
ENDSQL
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|||||||
Reference in New Issue
Block a user