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:
Cy Schubert 2018-11-29 21:20:53 +00:00
parent f373437a01
commit f0fea829d0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341265

View File

@ -542,12 +542,7 @@ ipf_send_icmp_err(type, fin, dst)
code = fin->fin_icode;
#ifdef USE_INET6
#if 0
/* 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
/* See NetBSD ip_fil_netbsd.c r1.4: */
if ((code < 0) || (code >= sizeof(icmptoicmp6unreach)/sizeof(int)))
return -1;
#endif