summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorMaxim Konovalov <maxim@FreeBSD.org>2002-12-23 10:02:40 +0000
committerMaxim Konovalov <maxim@FreeBSD.org>2002-12-23 10:02:40 +0000
commit68e6c838ded6d1f6e098356b1a0bf21a1d866b91 (patch)
tree876306bae4b8a0359a0b42dd5e565412b666901c /sys/netinet
parentdacd2e7efacd2a0dae586bcd8a74e8f96ae81e4d (diff)
Notes
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_fw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 51cb98eec206..ebc0ec1aa343 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -488,7 +488,7 @@ ipfw_log(struct ip_fw *f, u_int hlen, struct ether_header *eh,
inet_ntoa(sa->sa.sin_addr));
if (sa->sa.sin_port)
snprintf(SNPARGS(action2, len), ":%d",
- ntohs(sa->sa.sin_port));
+ sa->sa.sin_port);
}
break;
default: