mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
Installer: add "authoritative" to default dhcp config.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user