summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2006-04-25 14:56:18 +0200
committerMichael Brown2006-04-25 14:56:18 +0200
commitfee8b910157018ee8fc83d8965d5c54d6a038a83 (patch)
treee2253200f399d5c2146af8c6b3e8f31dbe1c694c
parentAdded missing ssize_t (diff)
downloadipxe-fee8b910157018ee8fc83d8965d5c54d6a038a83.tar.gz
ipxe-fee8b910157018ee8fc83d8965d5c54d6a038a83.tar.xz
ipxe-fee8b910157018ee8fc83d8965d5c54d6a038a83.zip
D'oh
-rw-r--r--src/net/arp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/arp.c b/src/net/arp.c
index 7b8eede6..a375eec9 100644
--- a/src/net/arp.c
+++ b/src/net/arp.c
@@ -252,7 +252,7 @@ static int arp_route ( const struct pk_buff *pkb,
/** ARP protocol */
struct net_protocol arp_protocol = {
- .net_proto = ETH_P_ARP,
+ .net_proto = htons ( ETH_P_ARP ),
.rx = arp_rx,
.route = arp_route,
};