From: Roy Marples Date: Sun, 28 Jan 2007 16:54:27 +0000 (+0000) Subject: Bother bother reading the existing ntp.conf file once we have matched all our servers X-Git-Tag: v3.2.3~318 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b57f8e83a87c2a6f522ee6cccec73f5b43e214be;p=thirdparty%2Fdhcpcd.git Bother bother reading the existing ntp.conf file once we have matched all our servers --- diff --git a/configure.c b/configure.c index 2195d9fc..8b06b8de 100644 --- a/configure.c +++ b/configure.c @@ -234,6 +234,9 @@ static int make_ntp (const char *ifname, const dhcp_t *dhcp) tomatch--; break; } + + if (tomatch == 0) + break; } fclose (f);