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
 
252
 
253
 /** ARP protocol */
253
 /** ARP protocol */
254
 struct net_protocol arp_protocol = {
254
 struct net_protocol arp_protocol = {
255
-	.net_proto = ETH_P_ARP,
255
+	.net_proto = htons ( ETH_P_ARP ),
256
 	.rx = arp_rx,
256
 	.rx = arp_rx,
257
 	.route = arp_route,
257
 	.route = arp_route,
258
 };
258
 };

Loading…
Cancel
Save