Commit 3af1d4dd authored by Leigh Stoller's avatar Leigh Stoller

Add regex to leave the "refclock" lines alone, which look like

"server 127.127.xxx.xxx ..."
parent 4d55ff29
......@@ -94,6 +94,11 @@ while (<NTP>) {
/^peer.*$/ && do {
last SWITCH1;
};
# Leave refclock lines alone
/^server.*127\.127.*$/ && do {
print NEW "$_\n";
last SWITCH1;
};
/^server.*$/ && do {
last SWITCH1;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment