Parcourir la source

D'oh

tags/v0.9.3
Michael Brown il y a 18 ans
Parent
révision
fee8b91015
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/net/arp.c

+ 1
- 1
src/net/arp.c Voir le fichier

@@ -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
 };

Chargement…
Annuler
Enregistrer