Installer: add "authoritative" to default dhcp config.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 27 Dec 2010 18:17:07 +0000 (19:17 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 27 Dec 2010 18:17:07 +0000 (19:17 +0100)
src/install+setup/setup/dhcp.c

index f969759..332a807 100644 (file)
@@ -208,6 +208,7 @@ int handledhcp(void)
                        
                                file = fopen(CONFIG_ROOT "/dhcp/dhcpd.conf", "w");
                                fprintf(file, "ddns-update-style none;\n");
+                               fprintf(file, "authoritative;\n");
                                fprintf(file, "subnet %s netmask %s\n", greennetaddress, greennetmask);
                                fprintf(file, "{\n");
                                fprintf(file, "\toption subnet-mask %s;\n", greennetmask);