X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-ultrix.c;fp=pppd%2Fsys-ultrix.c;h=cb1303bad47fa5c015e13ca245c8c57b5b0178c7;hb=0c752a555e174a838a30b7e8632fbffc58ba00a6;hp=691b38695e8dcee8a52ba9ccce153cbf911cf527;hpb=a00baab063b349591289cbde22ab40cf80b8f0af;p=ppp.git diff --git a/pppd/sys-ultrix.c b/pppd/sys-ultrix.c index 691b386..cb1303b 100644 --- a/pppd/sys-ultrix.c +++ b/pppd/sys-ultrix.c @@ -21,7 +21,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-ultrix.c,v 1.23 1998/11/07 06:59:32 paulus Exp $"; +static char rcsid[] = "$Id: sys-ultrix.c,v 1.24 1999/03/08 01:46:24 paulus Exp $"; #endif /* @@ -1217,6 +1217,17 @@ 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; +} + /* * Use the hostid as part of the random number seed.