diff options
author | Denys Vlasenko | 2022-12-15 11:51:16 +0100 |
---|---|---|
committer | Denys Vlasenko | 2022-12-15 11:51:16 +0100 |
commit | 242d0562307549af61b234bff545ca13474a2603 (patch) | |
tree | bd6f1c917f58c5481cec08025987f7471a4fb371 /networking/udhcp/d6_dhcpc.c | |
parent | 301ef96892939498ceb0a70e1f523ba9a7a7b9c1 (diff) | |
download | busybox-242d0562307549af61b234bff545ca13474a2603.zip busybox-242d0562307549af61b234bff545ca13474a2603.tar.gz |
udhcpc6: use a different default config script
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/d6_dhcpc.c')
-rw-r--r-- | networking/udhcp/d6_dhcpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index e49d752..cdd0618 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c @@ -1134,7 +1134,7 @@ static void client_background(void) //usage:#define udhcpc6_full_usage "\n" //usage: "\n -i IFACE Interface to use (default "CONFIG_UDHCPC_DEFAULT_INTERFACE")" //usage: "\n -p FILE Create pidfile" -//usage: "\n -s PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" +//usage: "\n -s PROG Run PROG at DHCP events (default "CONFIG_UDHCPC6_DEFAULT_SCRIPT")" //usage: "\n -B Request broadcast replies" //usage: "\n -t N Send up to N discover packets" //usage: "\n -T SEC Pause between packets (default 3)" @@ -1200,7 +1200,7 @@ int udhcpc6_main(int argc UNUSED_PARAM, char **argv) IF_FEATURE_UDHCP_PORT(SERVER_PORT6 = 547;) IF_FEATURE_UDHCP_PORT(CLIENT_PORT6 = 546;) client_data.interface = CONFIG_UDHCPC_DEFAULT_INTERFACE; - client_data.script = CONFIG_UDHCPC_DEFAULT_SCRIPT; + client_data.script = CONFIG_UDHCPC6_DEFAULT_SCRIPT; client_data.sockfd = -1; /* Make sure fd 0,1,2 are open */ |