diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-16 22:23:38 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-16 22:23:38 +0100 |
commit | 64211ce6fa9222de0c6f52c50ff7caf1bfbd301e (patch) | |
tree | 29cdf70a25c1a0d93b727a6102194d316993dd63 | |
parent | 438c72ece4b4241f1318994b9770877f2ab863a2 (diff) | |
download | busybox-w32-64211ce6fa9222de0c6f52c50ff7caf1bfbd301e.tar.gz busybox-w32-64211ce6fa9222de0c6f52c50ff7caf1bfbd301e.tar.bz2 busybox-w32-64211ce6fa9222de0c6f52c50ff7caf1bfbd301e.zip |
udhcpc6: --help fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/udhcp/Config.src | 2 | ||||
-rw-r--r-- | networking/udhcp/d6_dhcpc.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index 8ab8d30ce..50bff2e8c 100644 --- a/networking/udhcp/Config.src +++ b/networking/udhcp/Config.src | |||
@@ -94,7 +94,7 @@ config FEATURE_UDHCPC_SANITIZEOPT | |||
94 | config UDHCPC_DEFAULT_SCRIPT | 94 | config UDHCPC_DEFAULT_SCRIPT |
95 | string "Absolute path to config script" | 95 | string "Absolute path to config script" |
96 | default "/usr/share/udhcpc/default.script" | 96 | default "/usr/share/udhcpc/default.script" |
97 | depends on UDHCPC | 97 | depends on UDHCPC || UDHCPC6 |
98 | help | 98 | help |
99 | This script is called after udhcpc receives an answer. See | 99 | This script is called after udhcpc receives an answer. See |
100 | examples/udhcp for a working example. Normally it is safe | 100 | examples/udhcp for a working example. Normally it is safe |
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index d0d8e5c55..460f3d9a4 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c | |||
@@ -1030,7 +1030,7 @@ static void client_background(void) | |||
1030 | //usage:# define IF_UDHCP_VERBOSE(...) | 1030 | //usage:# define IF_UDHCP_VERBOSE(...) |
1031 | //usage:#endif | 1031 | //usage:#endif |
1032 | //usage:#define udhcpc6_trivial_usage | 1032 | //usage:#define udhcpc6_trivial_usage |
1033 | //usage: "[-fbnq"IF_UDHCP_VERBOSE("v")"oR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]\n" | 1033 | //usage: "[-fbnq"IF_UDHCP_VERBOSE("v")"odR] [-i IFACE] [-r IPv6] [-s PROG] [-p PIDFILE]\n" |
1034 | //usage: " [-x OPT:VAL]... [-O OPT]..." IF_FEATURE_UDHCP_PORT(" [-P N]") | 1034 | //usage: " [-x OPT:VAL]... [-O OPT]..." IF_FEATURE_UDHCP_PORT(" [-P N]") |
1035 | //usage:#define udhcpc6_full_usage "\n" | 1035 | //usage:#define udhcpc6_full_usage "\n" |
1036 | //usage: "\n -i IFACE Interface to use (default eth0)" | 1036 | //usage: "\n -i IFACE Interface to use (default eth0)" |
@@ -1056,7 +1056,7 @@ static void client_background(void) | |||
1056 | ////usage: ) | 1056 | ////usage: ) |
1057 | //usage: "\n -O OPT Request option OPT from server (cumulative)" | 1057 | //usage: "\n -O OPT Request option OPT from server (cumulative)" |
1058 | //usage: "\n -o Don't request any options (unless -O is given)" | 1058 | //usage: "\n -o Don't request any options (unless -O is given)" |
1059 | //usage: "\n -r IP Request this IP address ('no' to not request any IP)" | 1059 | //usage: "\n -r IPv6 Request this address ('no' to not request any IP)" |
1060 | //usage: "\n -d Request prefix" | 1060 | //usage: "\n -d Request prefix" |
1061 | //usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)" | 1061 | //usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)" |
1062 | //usage: "\n Examples of string, numeric, and hex byte opts:" | 1062 | //usage: "\n Examples of string, numeric, and hex byte opts:" |