udhcpc6: --help fixes
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 16 Jan 2018 21:23:38 +0000 (22:23 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 16 Jan 2018 21:23:38 +0000 (22:23 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/Config.src
networking/udhcp/d6_dhcpc.c

index 8ab8d30ce095aeefd0cf2e6250edf7d9e9be2330..50bff2e8ca4c00170fa41ccca00613ff22fa0e1d 100644 (file)
@@ -94,7 +94,7 @@ config FEATURE_UDHCPC_SANITIZEOPT
 config UDHCPC_DEFAULT_SCRIPT
        string "Absolute path to config script"
        default "/usr/share/udhcpc/default.script"
-       depends on UDHCPC
+       depends on UDHCPC || UDHCPC6
        help
        This script is called after udhcpc receives an answer. See
        examples/udhcp for a working example. Normally it is safe
index d0d8e5c55c7e05e1b5fe63b08a6d496667e01aaf..460f3d9a49aa072b4d6f8442531f5e2af3b36972 100644 (file)
@@ -1030,7 +1030,7 @@ static void client_background(void)
 //usage:# define IF_UDHCP_VERBOSE(...)
 //usage:#endif
 //usage:#define udhcpc6_trivial_usage
-//usage:       "[-fbnq"IF_UDHCP_VERBOSE("v")"oR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]\n"
+//usage:       "[-fbnq"IF_UDHCP_VERBOSE("v")"odR] [-i IFACE] [-r IPv6] [-s PROG] [-p PIDFILE]\n"
 //usage:       "       [-x OPT:VAL]... [-O OPT]..." IF_FEATURE_UDHCP_PORT(" [-P N]")
 //usage:#define udhcpc6_full_usage "\n"
 //usage:     "\n       -i IFACE        Interface to use (default eth0)"
@@ -1056,7 +1056,7 @@ static void client_background(void)
 ////usage:     )
 //usage:     "\n       -O OPT          Request option OPT from server (cumulative)"
 //usage:     "\n       -o              Don't request any options (unless -O is given)"
-//usage:     "\n       -r IP           Request this IP address ('no' to not request any IP)"
+//usage:     "\n       -r IPv6         Request this address ('no' to not request any IP)"
 //usage:     "\n       -d              Request prefix"
 //usage:     "\n       -x OPT:VAL      Include option OPT in sent packets (cumulative)"
 //usage:     "\n                       Examples of string, numeric, and hex byte opts:"