summaryrefslogtreecommitdiffstats
path: root/src/net/arp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/arp.c')
-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,
};