aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpd.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-01-28 15:25:35 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-01-28 15:25:35 +0100
commit04ac6e03c3ae8302be2420cf73d70cf466791fa6 (patch)
tree9fd4fbfd3512c576b213b5686a52ff1753d2b2e6 /networking/udhcp/dhcpd.h
parent03b614739b923994ff0bef74622973ad18fefebd (diff)
downloadbusybox-w32-04ac6e03c3ae8302be2420cf73d70cf466791fa6.tar.gz
busybox-w32-04ac6e03c3ae8302be2420cf73d70cf466791fa6.tar.bz2
busybox-w32-04ac6e03c3ae8302be2420cf73d70cf466791fa6.zip
udhcpc6: fix port numbers used if !FEATURE_UDHCP_PORT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r--networking/udhcp/dhcpd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h
index 7c801bf6b..a77724f20 100644
--- a/networking/udhcp/dhcpd.h
+++ b/networking/udhcp/dhcpd.h
@@ -61,9 +61,11 @@ struct server_config_t {
61/* client_config sits in 2nd half of bb_common_bufsiz1 */ 61/* client_config sits in 2nd half of bb_common_bufsiz1 */
62 62
63#if ENABLE_FEATURE_UDHCP_PORT 63#if ENABLE_FEATURE_UDHCP_PORT
64#define SERVER_PORT (server_config.port) 64#define SERVER_PORT (server_config.port)
65#define SERVER_PORT6 (server_config.port)
65#else 66#else
66#define SERVER_PORT 67 67#define SERVER_PORT 67
68#define SERVER_PORT6 547
67#endif 69#endif
68 70
69 71