diff options
author | mike <mike@FreeBSD.org> | 2002-02-28 09:56:31 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-02-28 09:56:31 +0000 |
commit | 97c4e8d6843ad3997d61e240e6ce37c7fba3a221 (patch) | |
tree | f427a1fbe96bc7481626971c2440e11ba9b5a6ad /sys/contrib/ipfilter/netinet | |
parent | 77973ba896aa52c2fd8ba6ba5adc74392550b917 (diff) | |
download | FreeBSD-src-97c4e8d6843ad3997d61e240e6ce37c7fba3a221.zip FreeBSD-src-97c4e8d6843ad3997d61e240e6ce37c7fba3a221.tar.gz |
Change two occurrences of HTONS() to use htons().
Diffstat (limited to 'sys/contrib/ipfilter/netinet')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_auth.c b/sys/contrib/ipfilter/netinet/ip_auth.c index 28c43ee..a3182e2 100644 --- a/sys/contrib/ipfilter/netinet/ip_auth.c +++ b/sys/contrib/ipfilter/netinet/ip_auth.c @@ -297,8 +297,8 @@ ip_t *ip; #else # if defined(BSD) && !defined(sparc) && (BSD >= 199306) if (!fin->fin_out) { - HTONS(ip->ip_len); - HTONS(ip->ip_off); + ip->ip_len = htons(ip->ip_len); + ip->ip_off = htons(ip->ip_off); } # endif fr_authpkts[i] = m; |