diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-28 15:25:35 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-28 15:25:35 +0100 |
commit | 04ac6e03c3ae8302be2420cf73d70cf466791fa6 (patch) | |
tree | 9fd4fbfd3512c576b213b5686a52ff1753d2b2e6 /networking/udhcp/dhcpc.h | |
parent | 03b614739b923994ff0bef74622973ad18fefebd (diff) | |
download | busybox-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/dhcpc.h')
-rw-r--r-- | networking/udhcp/dhcpc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index 2859a0772..9f423a5b2 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h | |||
@@ -29,9 +29,11 @@ struct client_config_t { | |||
29 | #define client_config (*(struct client_config_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE / 2])) | 29 | #define client_config (*(struct client_config_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE / 2])) |
30 | 30 | ||
31 | #if ENABLE_FEATURE_UDHCP_PORT | 31 | #if ENABLE_FEATURE_UDHCP_PORT |
32 | #define CLIENT_PORT (client_config.port) | 32 | #define CLIENT_PORT (client_config.port) |
33 | #define CLIENT_PORT6 (client_config.port) | ||
33 | #else | 34 | #else |
34 | #define CLIENT_PORT 68 | 35 | #define CLIENT_PORT 68 |
36 | #define CLIENT_PORT6 546 | ||
35 | #endif | 37 | #endif |
36 | 38 | ||
37 | POP_SAVED_FUNCTION_VISIBILITY | 39 | POP_SAVED_FUNCTION_VISIBILITY |