X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fsys-NeXT.c;h=e0c790e298d66b10f98e32656f91ce6eaa6b8ee4;hp=8ab5a12d5ec29d5acb976bb66c033bcd03735d5e;hb=bfa20ccde2a70b1252dbb614132f1a4cbee815d4;hpb=66787f54548cc1e3b7934026ddaa956253073e39 diff --git a/pppd/sys-NeXT.c b/pppd/sys-NeXT.c index 8ab5a12..e0c790e 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.9 1998/03/25 02:17:23 paulus Exp $"; +static char rcsid[] = "$Id: sys-NeXT.c,v 1.10 1998/11/07 06:59:30 paulus Exp $"; #endif #include @@ -1636,17 +1636,18 @@ get_host_seed() /* * 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; }