- Correct variable name.
- Correct unnecessary use of htons(). Reported by: many.
This commit is contained in:
parent
24f0550d8a
commit
3648c62188
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127275
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user