]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Bother bother reading the existing ntp.conf file once we have matched all our servers
authorRoy Marples <roy@marples.name>
Sun, 28 Jan 2007 16:54:27 +0000 (16:54 +0000)
committerRoy Marples <roy@marples.name>
Sun, 28 Jan 2007 16:54:27 +0000 (16:54 +0000)
configure.c

index 2195d9fc0af4321542d435ab2d5f3d412033d90f..8b06b8dee087f60def7a63c2694e85879c37d58e 100644 (file)
@@ -234,6 +234,9 @@ static int make_ntp (const char *ifname, const dhcp_t *dhcp)
                tomatch--;
                break;
              }
+
+         if (tomatch == 0)
+           break;
        }
       fclose (f);