X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-sunos4.c;h=615a548f674d45c263bd37c4d341524a590f11e3;hb=ac19750e0fb64986870e9bd9bad52d5ae46e2551;hp=ac24eb184364cf2c73b13123b08e44dcd103f5e1;hpb=bfa20ccde2a70b1252dbb614132f1a4cbee815d4;p=ppp.git diff --git a/pppd/sys-sunos4.c b/pppd/sys-sunos4.c index ac24eb1..615a548 100644 --- a/pppd/sys-sunos4.c +++ b/pppd/sys-sunos4.c @@ -26,7 +26,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-sunos4.c,v 1.10 1998/11/07 06:59:31 paulus Exp $"; +static char rcsid[] = "$Id: sys-sunos4.c,v 1.11 1999/03/08 01:46:24 paulus Exp $"; #endif #include @@ -1218,6 +1218,17 @@ get_ether_addr(ipaddr, hwaddr) return 1; } +/* + * have_route_to - determine if the system has any route to + * a given IP address. + * For demand mode to work properly, we have to ignore routes + * through our own interface. + */ +int have_route_to(u_int32_t addr) +{ + return -1; +} + #define WTMPFILE "/usr/adm/wtmp" void