components/ntp/patches/ntpwait.patch
changeset 1467 f14b6c5766ca
parent 1466 24d2be32f88c
child 1468 07b38c2bfed7
equal deleted inserted replaced
1466:24d2be32f88c 1467:f14b6c5766ca
     1 --- scripts/ntp-wait.in.orig	Thu May 14 06:34:42 2009
       
     2 +++ scripts/ntp-wait.in	Thu May 14 06:15:13 2009
       
     3 @@ -20,8 +20,8 @@
       
     4      while(<Q>) {
       
     5        chomp;
       
     6        # the first line should be similar to:
       
     7 -      # associd=0 status=0645 leap_none, sync_ntp, ...
       
     8 -      if (/^associd=0 status=(\S{4}) (\S+), (\S+),/) {
       
     9 +      # status=0645 leap_none, sync_ntp, ...
       
    10 +      if (/status=(\S{4}) (\S+), (\S+),/) {
       
    11  	my $status = $1;
       
    12  	my $leap = $2;
       
    13  	my $sync = $3;