diff options
author | Denys Vlasenko | 2016-04-21 18:54:36 +0200 |
---|---|---|
committer | Denys Vlasenko | 2016-04-21 18:54:36 +0200 |
commit | df70a43af281f7e653b1c95ff17201669fdcfca3 (patch) | |
tree | a666d07d0426a8aeeccf829e6111609acd597a43 /networking/udhcp/dhcpd.c | |
parent | 9de2e5a22213842da5b116723392de88de9ed419 (diff) | |
download | busybox-df70a43af281f7e653b1c95ff17201669fdcfca3.zip busybox-df70a43af281f7e653b1c95ff17201669fdcfca3.tar.gz |
udhcp: add setup_common_bufsiz() as needed
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpd.c')
-rw-r--r-- | networking/udhcp/dhcpd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 2671ea3..e93a9f1 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -310,10 +310,10 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) unsigned arpping_ms; IF_FEATURE_UDHCP_PORT(char *str_P;) -#if ENABLE_FEATURE_UDHCP_PORT - SERVER_PORT = 67; - CLIENT_PORT = 68; -#endif + setup_common_bufsiz(); + + IF_FEATURE_UDHCP_PORT(SERVER_PORT = 67;) + IF_FEATURE_UDHCP_PORT(CLIENT_PORT = 68;) #if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 1 opt_complementary = "vv"; |