- Correct variable name.

- Correct unnecessary use of htons().

Reported by:	many.
This commit is contained in:
Matthew N. Dodd 2004-03-21 17:27:41 +00:00
parent 24f0550d8a
commit 3648c62188
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127275

View File

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