Sophie

Sophie

distrib > Mandriva > mes5 > x86_64 > by-pkgid > a51a85214e79afe3dcf6c9bbd251a1b6 > files > 19

ppp-2.4.4-7mdv2009.0.src.rpm

diff -p -up ppp-2.4.4/pppd/sys-linux.c.delrt_iface ppp-2.4.4/pppd/sys-linux.c
--- ppp-2.4.4/pppd/sys-linux.c.delrt_iface	2008-06-02 15:14:37.000000000 +0200
+++ ppp-2.4.4/pppd/sys-linux.c	2008-06-02 16:31:21.000000000 +0200
@@ -1657,6 +1657,7 @@ int cifdefaultroute (int unit, u_int32_t
     memset (&rt, '\0', sizeof (rt));
     SET_SA_FAMILY (rt.rt_dst,     AF_INET);
     SET_SA_FAMILY (rt.rt_gateway, AF_INET);
+    rt.rt_dev = ifname;
 
     if (kernel_version > KVERSION(2,1,0)) {
 	SET_SA_FAMILY (rt.rt_genmask, AF_INET);