projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9107b63
)
udhcpd: fix -v/-P mixup
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 27 Mar 2010 22:24:57 +0000
(23:24 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 27 Mar 2010 22:24:57 +0000
(23:24 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/dhcpd.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/dhcpd.c
b/networking/udhcp/dhcpd.c
index 9e726fbe51f107b3d30e31a33444e84ff6e3cfe2..2d1d5deba7a4fa9c992f381f3d68f95e573910db 100644
(file)
--- 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;
}