]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
some little changes
authorHarlan Stenn <stenn@ntp.org>
Thu, 14 Aug 2003 07:02:42 +0000 (03:02 -0400)
committerHarlan Stenn <stenn@ntp.org>
Thu, 14 Aug 2003 07:02:42 +0000 (03:02 -0400)
bk: 3f3b3412TwEl3RcwEX1EsDkGFNJkAA

ntpd/ntp_io.c
ntpdc/Makefile.am

index 8ecc9320d74353600d653d697cf808910176ff28..efdf46bdf77b0b1090422283cfb7d98d2dbccf15 100644 (file)
@@ -1883,7 +1883,7 @@ findinterface(
 #endif
                return ANY_INTERFACE_CHOOSE(addr);
 
-       for (i = nwilds; i < ninterfaces; i++) {
+       for (i = 0; i < ninterfaces; i++) {
                /*
                * First look if is the the correct family
                */
@@ -1909,7 +1909,7 @@ findbcastinter(
 #if !defined(MPE) && (defined(SIOCGIFCONF) || defined(SYS_WINNT))
        register int i;
 
-       for (i = nwilds; i < ninterfaces; i++) {
+       for (i = 0; i < ninterfaces; i++) {
                /*
                * First look if this is the correct family
                */
index ff9617f06d8383aae396ae6f5d847970956deb98..ad4507cf68ed37b300461cc42421b2ccc28a96d0 100644 (file)
@@ -9,6 +9,7 @@ ntpdc_LDADD = version.o ../libntp/libntp.a @READLINE_LIBS@
 # ntpdc-layout doesn't need any additional libraries at all
 ntpdc_layout_LDADD=
 DISTCLEANFILES = .version version.c
+CLEANFILES=    check-layout layout.here nl.c
 noinst_HEADERS = ntpdc.h
 EXTRA_DIST = nl_in.c nl.pl layout.std
 ETAGS_ARGS = Makefile.am