summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcprelay.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-02-04 13:12:16 +0000
committerDenis Vlasenko2008-02-04 13:12:16 +0000
commitd55fe3e595eb0aad60484d273e251cfee4ef8aa5 (patch)
tree1b9ff57d70411902db36582da8dbaded99485eeb /networking/udhcp/dhcprelay.c
parente8ef7ec7de0cd9906b42a94eddb800ed1229a614 (diff)
downloadbusybox-d55fe3e595eb0aad60484d273e251cfee4ef8aa5.zip
busybox-d55fe3e595eb0aad60484d273e251cfee4ef8aa5.tar.gz
udhcp: optional support for non-standard DHCP ports (+300 bytes when selected)
Diffstat (limited to 'networking/udhcp/dhcprelay.c')
-rw-r--r--networking/udhcp/dhcprelay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c
index c243cc1..def1bc2 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -14,6 +14,7 @@
#include "options.h"
/* constants */
+#define SERVER_PORT 67
#define SELECT_TIMEOUT 5 /* select timeout in sec. */
#define MAX_LIFETIME 2*60 /* lifetime of an xid entry in sec. */