From 741be83f389e54133ba630aba5b4f1c4a663b755 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Thu, 28 Jun 2001 05:18:31 +0000 Subject: Fix typo (s/=/+=/) in previous commit. --- sys/netinet6/ip6_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet6') 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)); -- cgit v1.1