Re: cvs commit: src/sys/net if.c if_var.h src/sys/netinet icmp6.

看板DFBSD_commit作者時間21年前 (2005/02/02 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/5 (看更多)
:Hiroki, can you take a look at this commit again there is a compile issue. : :linking kernel.nodebug :ip_fil.o: In function `ipfr_fastroute6': :ip_fil.o(.text+0x1e1c): undefined reference to `nd_ifinfo' :*** Error code 1 I think this will do it. -Matt Index: contrib/ipfilter/netinet/ip_fil.c =================================================================== RCS file: /cvs/src/sys/contrib/ipfilter/netinet/ip_fil.c,v retrieving revision 1.15 diff -u -r1.15 ip_fil.c --- contrib/ipfilter/netinet/ip_fil.c 16 Sep 2004 23:40:24 -0000 1.15 +++ contrib/ipfilter/netinet/ip_fil.c 1 Feb 2005 19:18:40 -0000 @@ -2087,7 +2087,7 @@ error = ip6_getpmtu(ro_pmtu, ro, ifp, &finaldst, &mtu); if (error == 0) { #else - mtu = nd_ifinfo[ifp->if_index].linkmtu; + mtu = ND_IFINFO(ifp)->linkmtu; #endif if (m0->m_pkthdr.len <= mtu) error = nd6_output(ifp, fin->fin_ifp, m0,
文章代碼(AID): #11_za-00 (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #11_za-00 (DFBSD_commit)