DragonFly BSD
DragonFly commits List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/net if.c if_var.h src/sys/netinet icmp6.h tcp_input.c src/sys/netinet6 icmp6.c in6.c in6_gif.c in6_ifattach.c in6_pcb.c in6_proto.c in6_src.c in6_var.h ip6_forward.c ip6_input.c ip6_output.c nd6.c nd6.h nd6_nbr.c ...


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Feb 2005 11:19:50 -0800 (PST)

: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,



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]