From 64211ce6fa9222de0c6f52c50ff7caf1bfbd301e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 16 Jan 2018 22:23:38 +0100 Subject: [PATCH] udhcpc6: --help fixes Signed-off-by: Denys Vlasenko --- networking/udhcp/Config.src | 2 +- 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 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 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) //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:" -- 2.25.1