From 406bd1441694ad441fed852bf17e79020fdd44e5 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 27 Mar 2010 23:24:57 +0100 Subject: [PATCH] udhcpd: fix -v/-P mixup Signed-off-by: Denys Vlasenko --- networking/udhcp/dhcpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 9e726fbe5..2d1d5deba 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -303,7 +303,7 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) logmode |= LOGMODE_SYSLOG; } #if ENABLE_FEATURE_UDHCP_PORT - if (opt & 4) { /* -P */ + if (opt & 8) { /* -P */ SERVER_PORT = xatou16(str_P); CLIENT_PORT = SERVER_PORT + 1; } -- 2.25.1