Blame SOURCES/ntpstat-0.2-clksrc.patch

473877
diff -up ntp-4.2.4p7/ntpstat-0.2/ntpstat.c.ntpstat ntp-4.2.4p7/ntpstat-0.2/ntpstat.c
473877
--- ntp-4.2.4p7/ntpstat-0.2/ntpstat.c.ntpstat	2002-06-10 08:02:12.000000000 +0200
473877
+++ ntp-4.2.4p7/ntpstat-0.2/ntpstat.c	2009-07-20 12:22:35.000000000 +0200
473877
@@ -187,7 +187,7 @@ int main (void) {
473877
     else
473877
       printf("unknown source");
473877
 
473877
-    if (!strncmp(clksrcname[clksrc],clksrcname[6],sizeof(clksrcname[6]))) {
473877
+    if (clksrc == 6) {
473877
       // source of sync is another NTP server so check the IP address
473877
       strncpy(buff, ntpmsg.payload, sizeof(buff));
473877
       if ((newstr = strstr (buff, REFID))) {