Date: Mon, 15 Mar 2004 13:32:20 +0100 From: Antonio Tapiador del Dujo <atapiador@dit.upm.es> To: Darren Reed <darrenr@freebsd.org> Cc: freebsd-bugs@freebsd.org Subject: Re: kern/64167 Message-ID: <20040315123220.GA2497@curie> In-Reply-To: <20040313184744.7925316A4CF@hub.freebsd.org> References: <20040313184744.7925316A4CF@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
El sábado, 13 de marzo de 2004, a las 10:47:44, Darren Reed escribió: > > Does this patch look right ? Sure! It works. Greetings, Antonio. > Index: ip_fil.c > =================================================================== > RCS file: /home/ncvs/src/sys/contrib/ipfilter/netinet/ip_fil.c,v > retrieving revision 1.43 > diff -c -r1.43 ip_fil.c > *** ip_fil.c 21 Feb 2004 21:10:39 -0000 1.43 > --- ip_fil.c 13 Mar 2004 18:43:58 -0000 > *************** > *** 2020,2030 **** > error = ip6_getpmtu(ro_pmtu, ro, ifp, &finaldst, &mtu); > if (error == 0) { > #else > ! #ifdef ND_IFINFO > mtu = ND_IFINFO(ifp)->linkmtu; > ! #else > mtu = nd_ifinfo[ifp->if_index].linkmtu; > ! #endif > #endif > if (m0->m_pkthdr.len <= mtu) > error = nd6_output(ifp, fin->fin_ifp, m0, > --- 2020,2034 ---- > error = ip6_getpmtu(ro_pmtu, ro, ifp, &finaldst, &mtu); > if (error == 0) { > #else > ! # ifdef IN6_LINKMTU > ! mtu = IN6_LINKMTU(ifp); > ! # else > ! # ifdef ND_IFINFO > mtu = ND_IFINFO(ifp)->linkmtu; > ! # else > mtu = nd_ifinfo[ifp->if_index].linkmtu; > ! # endif > ! # endif > #endif > if (m0->m_pkthdr.len <= mtu) > error = nd6_output(ifp, fin->fin_ifp, m0, -- EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315123220.GA2497>