summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_arcsubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_arcsubr.c b/sys/net/if_arcsubr.c
index dba312b..5fbdaf0 100644
--- a/sys/net/if_arcsubr.c
+++ b/sys/net/if_arcsubr.c
@@ -153,12 +153,12 @@ arc_output(ifp, m, dst, rt0)
switch(ntohs(ah->ar_op)) {
case ARPOP_REVREQUEST:
case ARPOP_REVREPLY:
- type = htons(ARCTYPE_REVARP);
+ atype = ARCTYPE_REVARP;
break;
case ARPOP_REQUEST:
case ARPOP_REPLY:
default:
- type = htons(ARCTYPE_ARP);
+ atype = ARCTYPE_ARP;
break;
}
OpenPOWER on IntegriCloud