From 83103b2b6919ba8095ffb14e3819ee0362038eb9 Mon Sep 17 00:00:00 2001 From: mdodd Date: Sun, 21 Mar 2004 17:27:41 +0000 Subject: - Correct variable name. - Correct unnecessary use of htons(). Reported by: many. --- sys/net/if_arcsubr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if_arcsubr.c') 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; } -- cgit v1.1