diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-05-08 15:02:07 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-05-08 15:02:07 +0200 |
commit | 741bfa9a7219e5d1a5540eddeb0953788549e1da (patch) | |
tree | e320321da8a915f5ddfd187862c071548d6092e8 /networking/udhcp/d6_dhcpc.c | |
parent | c5d16e92c16cdd5ee57101e1ce88b5855e8ece6c (diff) | |
download | busybox-w32-741bfa9a7219e5d1a5540eddeb0953788549e1da.tar.gz busybox-w32-741bfa9a7219e5d1a5540eddeb0953788549e1da.tar.bz2 busybox-w32-741bfa9a7219e5d1a5540eddeb0953788549e1da.zip |
udhcpc: fix "udhcpc -x hostname:<name> not working on nommu"
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index 3e0879876..9eddbe24c 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c | |||
@@ -1072,6 +1072,8 @@ int udhcpc6_main(int argc UNUSED_PARAM, char **argv) | |||
1072 | /* now it looks similar to udhcpd's config file line: | 1072 | /* now it looks similar to udhcpd's config file line: |
1073 | * "optname optval", using the common routine: */ | 1073 | * "optname optval", using the common routine: */ |
1074 | udhcp_str2optset(optstr, &client_config.options); | 1074 | udhcp_str2optset(optstr, &client_config.options); |
1075 | if (colon) | ||
1076 | *colon = ':'; /* restore it for NOMMU reexec */ | ||
1075 | } | 1077 | } |
1076 | 1078 | ||
1077 | if (d6_read_interface(client_config.interface, | 1079 | if (d6_read_interface(client_config.interface, |