Remove an old comment/code and replace with a comment that
directly references a NetBSD commit. MFC after: 1 week
This commit is contained in:
parent
f373437a01
commit
f0fea829d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341265
@ -542,12 +542,7 @@ ipf_send_icmp_err(type, fin, dst)
|
|||||||
|
|
||||||
code = fin->fin_icode;
|
code = fin->fin_icode;
|
||||||
#ifdef USE_INET6
|
#ifdef USE_INET6
|
||||||
#if 0
|
/* See NetBSD ip_fil_netbsd.c r1.4: */
|
||||||
/* XXX Fix an off by one error: s/>/>=/
|
|
||||||
was:
|
|
||||||
if ((code < 0) || (code > sizeof(icmptoicmp6unreach)/sizeof(int)))
|
|
||||||
Fix obtained from NetBSD ip_fil_netbsd.c r1.4: */
|
|
||||||
#endif
|
|
||||||
if ((code < 0) || (code >= sizeof(icmptoicmp6unreach)/sizeof(int)))
|
if ((code < 0) || (code >= sizeof(icmptoicmp6unreach)/sizeof(int)))
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user