http://git.etherboot.org
/
people
/
pcmattman
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98de16b
)
Bugfix: DHCP message type should be a one-byte option... (d'oh)
author
Michael Brown
<mcb30@etherboot.org>
Thu, 13 Sep 2007 00:13:57 +0000
(
01:13
+0100)
committer
Michael Brown
<mcb30@etherboot.org>
Thu, 13 Sep 2007 00:16:23 +0000
(
01:16
+0100)
src/net/udp/dhcp.c
patch
|
blob
|
history
diff --git
a/src/net/udp/dhcp.c
b/src/net/udp/dhcp.c
index
86695f1
..
9e48fe1
100644
(file)
--- a/
src/net/udp/dhcp.c
+++ b/
src/net/udp/dhcp.c
@@
-294,8
+294,7
@@
static int copy_dhcp_packet_options ( struct dhcp_packet *dhcppkt,
* dhcp_packet structure that can be passed to
* set_dhcp_packet_option() or copy_dhcp_packet_options().
*/
-static int create_dhcp_packet ( struct net_device *netdev,
- unsigned int msgtype,
+static int create_dhcp_packet ( struct net_device *netdev, uint8_t msgtype,
void *data, size_t max_len,
struct dhcp_packet *dhcppkt ) {
struct dhcphdr *dhcphdr = data;