From 633e310fd16526c719369d9d370129404917ad0d Mon Sep 17 00:00:00 2001 From: wuqihy Date: Mon, 2 Sep 2019 15:54:43 +0800 Subject: [PATCH] =?UTF-8?q?Add=20aaa-12=20=E4=BF=AE=E6=94=B9dhcp=20subnet?= =?UTF-8?q?=20SOL=20=E4=BF=AE=E6=94=B9dhcp=20subnet=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BA=BA=EF=BC=9Awuqihy=20=E6=A3=80=E8=A7=86=E4=BA=BA=EF=BC=9A?= =?UTF-8?q?yinbin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuqihy --- .../user/configm/config-server/dhcp_config/dhcp_subnet_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/user/configm/config-server/dhcp_config/dhcp_subnet_config.c b/Platform/user/configm/config-server/dhcp_config/dhcp_subnet_config.c index e032b4bfc..d53ffd0ca 100644 --- a/Platform/user/configm/config-server/dhcp_config/dhcp_subnet_config.c +++ b/Platform/user/configm/config-server/dhcp_config/dhcp_subnet_config.c @@ -125,7 +125,7 @@ ret_code dhcp_subnet_config_proc(uint source, uint config_type, */ //Ìí¼Ó½Ó¿Ú - snprintf(cmd, len, "sed -r -i 's/INTERFACESv4=\"/INTERFACESv4=\"%s /g' /etc/default/isc-dhcp-server", interface->valuestring); + snprintf(cmd, len, "sed -r -i 's/INTERFACES=\"/INTERFACES=\"%s /g' /etc/default/isc-dhcp-server", interface->valuestring); system(cmd); memset(cmd, 0, len + 1); snprintf(cmd, len, "echo -e 'subnet %s netmask %s {\\n range %s;\\n option subnet-mask %s;\\n option routers %s;' >> /etc/dhcp/dhcpd.conf",