From ed820ccda1a2323b5821db637ccd6dbb3dfce340 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 8 May 2017 15:11:02 +0200 Subject: udhcpc: do not accept --background on NOMMU (same as -b) Signed-off-by: Denys Vlasenko --- networking/udhcp/dhcpc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'networking/udhcp/dhcpc.c') diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index 1ccfff437..6aa6731fb 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -73,7 +73,9 @@ static const char udhcpc_longopts[] ALIGN1 = "request-option\0" Required_argument "O" "no-default-options\0" No_argument "o" "foreground\0" No_argument "f" + USE_FOR_MMU( "background\0" No_argument "b" + ) "broadcast\0" No_argument "B" IF_FEATURE_UDHCPC_ARPING("arping\0" Optional_argument "a") IF_FEATURE_UDHCP_PORT("client-port\0" Required_argument "P") -- cgit v1.2.3