Fix DHCP request source port and add port #define's
authorJustin Pettit <jpettit@nicira.com>
Thu, 16 Jul 2009 22:02:53 +0000 (15:02 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 29 Jul 2009 23:37:14 +0000 (16:37 -0700)
commitc2fea58ce74361f355bedc3ab580a514d615809f
treedea375b88ae93931514ff76d0807995d38bc5e7f
parent06052e0c891c4ea0fac9164a4ff2555a1eb38e69
Fix DHCP request source port and add port #define's

DHCP requests were sent with a source port of 66, when it should be 68.
This code has been tested, so apparently many DHCP servers don't pay
attention to the source port.  This commit also adds #define's for the
DHCP ports, so that magic numbers don't need to be used.
lib/dhcp-client.c
lib/dhcp.h