X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fsys-NeXT.c;h=b42e0d191161f9d05d757a25cd3ebcf1ac1f4e0c;hp=e0c790e298d66b10f98e32656f91ce6eaa6b8ee4;hb=0c752a555e174a838a30b7e8632fbffc58ba00a6;hpb=a00baab063b349591289cbde22ab40cf80b8f0af diff --git a/pppd/sys-NeXT.c b/pppd/sys-NeXT.c index e0c790e..b42e0d1 100644 --- a/pppd/sys-NeXT.c +++ b/pppd/sys-NeXT.c @@ -20,7 +20,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-NeXT.c,v 1.10 1998/11/07 06:59:30 paulus Exp $"; +static char rcsid[] = "$Id: sys-NeXT.c,v 1.11 1999/03/08 01:46:19 paulus Exp $"; #endif #include @@ -1193,6 +1193,16 @@ GetMask(addr) return mask; } +/* + * 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; +} /*