Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
CA-32853: exclude local clock 'IP addresses'
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rowe committed Dec 4, 2009
1 parent 987cac1 commit 03f3934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XSConsoleData.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03f3934

Please sign in to comment.