]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: 1.97
authorjhay <jhay@FreeBSD.org>
Wed, 20 Sep 2006 19:18:03 +0000 (19:18 +0000)
committerjhay <jhay@FreeBSD.org>
Wed, 20 Sep 2006 19:18:03 +0000 (19:18 +0000)
commit7fb24b60834961e1ed9560adfcba93ac4a61a077
tree0889cba9815e465b7cc06b0a849de0066b8ce33e
parentec53dcf1bf4bb40e763e37f59dff928cab6fcf12
MFC: 1.97
Use bzero() to clear the whole ipfw_insn_icmp6 structure in fill_icmp6types(),
otherwise this command

ipfw add allow ipv6-icmp from any to 2002::1 icmp6types 1,2,128,129

turns into icmp6types 1,2,32,33,34,...94,95,128,129

PR: 102422 (part 1)
Submitted by: Andrey V. Elsukov <bu7cher at yandex.ru>
Approved by: re (hrs)
sbin/ipfw/ipfw2.c