*/
#ifndef lint
-static char rcsid[] = "$Id: sys-NeXT.c,v 1.9 1998/03/25 02:17:23 paulus Exp $";
+static char rcsid[] = "$Id: sys-NeXT.c,v 1.11 1999/03/08 01:46:19 paulus Exp $";
#endif
#include <stdio.h>
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;
+}
/*
/*
* sys_check_options - check the options that the user specified
*/
-void
+int
sys_check_options()
{
/*
* We don't support demand dialing yet.
*/
- if(demand)
+ if (demand)
{
syslog(LOG_WARNING, "PPP-2.3 for NeXTSTEP does not yet support demand dialing\n");
- demand = 0;
+ return 0;
}
+ return 1;
}