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

Re: D-Link DFE580-TX (ste*) woes



try this patch - i use it on my zebra machines which wouldn't otherwise
work. i got this from the zebra mailing list.

--- ip_output.c.orig	Fri Mar 22 10:28:48 2002
+++ ip_output.c	Fri Mar 22 10:31:31 2002
@@ -208,6 +208,16 @@

 			ifp = ia->ia_ifp;
 			ip->ip_ttl = 1;
+		} else
+			if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) &&
+			(imo != NULL) &&
+			(imo->imo_multicast_ifp != NULL)) {
+			/*
+			* bypass the normal routing lookup for
+			* multicast packets if the interface is
+			* specified
+			*/
+			;
 		} else {
 		        if (ro->ro_rt == 0)
 			        rtalloc(ro);

-- 
Chris Kuethe, GCIA CISSP: Secure Systems Specialist - U of A CNS
      office: 157 General Services Bldg.    +1.780.492.8135
              chris.kuethe@[pyxis.cns.]ualberta.ca

No trees were destroyed in the sending of this contaminant free message; we
do concede a significant number of electrons may have been inconvenienced.