diff options
| author | Michael Brown | 2007-09-13 02:13:57 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-09-13 02:13:57 +0200 |
| commit | c0d99245a9ad58429ee21bb6a441d965aca34997 (patch) | |
| tree | ad147f7234719c7727d2d97dc4f904bbc4290e92 /src/net | |
| parent | Started IB driver rewrite (diff) | |
| download | ipxe-c0d99245a9ad58429ee21bb6a441d965aca34997.tar.gz ipxe-c0d99245a9ad58429ee21bb6a441d965aca34997.tar.xz ipxe-c0d99245a9ad58429ee21bb6a441d965aca34997.zip | |
Bugfix: DHCP message type should be a one-byte option... (d'oh)
Diffstat (limited to 'src/net')
| -rw-r--r-- | src/net/udp/dhcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index 86695f12b..9e48fe11b 100644 --- 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; |
