udhcp: optional support for non-standard DHCP ports (+300 bytes when selected)

This commit is contained in:
Denis Vlasenko
2008-02-04 13:12:16 +00:00
parent e8ef7ec7de
commit d55fe3e595
10 changed files with 79 additions and 14 deletions

View File

@@ -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. */