summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2001-06-28 05:18:31 +0000
committerkuriyama <kuriyama@FreeBSD.org>2001-06-28 05:18:31 +0000
commit741be83f389e54133ba630aba5b4f1c4a663b755 (patch)
tree2ff539f110ce77728df030d4eb22f6eb2b52aded /sys/netinet6
parent2d6e61953672bd0e974515b5bee2c5317fc757c1 (diff)
downloadFreeBSD-src-741be83f389e54133ba630aba5b4f1c4a663b755.zip
FreeBSD-src-741be83f389e54133ba630aba5b4f1c4a663b755.tar.gz
Fix typo (s/=/+=/) in previous commit.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6_fw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_fw.c b/sys/netinet6/ip6_fw.c
index 8b8707b..c932539 100644
--- a/sys/netinet6/ip6_fw.c
+++ b/sys/netinet6/ip6_fw.c
@@ -417,7 +417,7 @@ ip6fw_report(struct ip6_fw *f, struct ip6_hdr *ip6,
icmp6->icmp6_type, icmp6->icmp6_code);
else
len = snprintf(SNPARGS(proto, 0), "IPV6-ICMP ");
- len = snprintf(SNPARGS(proto, len), "[%s]",
+ len += snprintf(SNPARGS(proto, len), "[%s]",
ip6_sprintf(&ip6->ip6_src));
snprintf(SNPARGS(proto, len), " [%s]",
ip6_sprintf(&ip6->ip6_dst));
OpenPOWER on IntegriCloud