From 03f3934d81847db1b430c1e3148f73a866f86702 Mon Sep 17 00:00:00 2001 From: Simon Rowe Date: Fri, 4 Dec 2009 14:17:10 +0000 Subject: [PATCH] CA-32853: exclude local clock 'IP addresses' --- XSConsoleData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XSConsoleData.py b/XSConsoleData.py index 8d3535a..8c1bd02 100644 --- a/XSConsoleData.py +++ b/XSConsoleData.py @@ -720,7 +720,7 @@ def ScanNTPConf(self, inLines): for line in inLines: match = re.match(r'server\s+(\S+)', line) - if match: + if match and not match.group(1).startswith('127.127.'): self.data['ntp']['servers'].append(match.group(1)) else: self.data['ntp']['othercontents'].append(line)