X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-sunos4.c;h=615a548f674d45c263bd37c4d341524a590f11e3;hb=6d89f8d2a2b827a1165e99ea683e6c859e98693e;hp=a9d970ec91c44e1daef2d3b8083156ed29c8e3e9;hpb=b03e0f44811d84b0be229b0f8498b275d0b2e386;p=ppp.git diff --git a/pppd/sys-sunos4.c b/pppd/sys-sunos4.c index a9d970e..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.9 1998/03/25 02:19:29 paulus Exp $"; +static char rcsid[] = "$Id: sys-sunos4.c,v 1.11 1999/03/08 01:46:24 paulus Exp $"; #endif #include @@ -206,9 +206,10 @@ sys_close() /* * sys_check_options - check the options that the user specified */ -void +int sys_check_options() { + return 1; } @@ -1217,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