Browse Source

D'oh

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
fee8b91015
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/arp.c

+ 1
- 1
src/net/arp.c View File

@@ -252,7 +252,7 @@ static int arp_route ( const struct pk_buff *pkb,
252 252
 
253 253
 /** ARP protocol */
254 254
 struct net_protocol arp_protocol = {
255
-	.net_proto = ETH_P_ARP,
255
+	.net_proto = htons ( ETH_P_ARP ),
256 256
 	.rx = arp_rx,
257 257
 	.route = arp_route,
258 258
 };

Loading…
Cancel
Save