From: Paul Mackerras Date: Sat, 14 Sep 1996 05:16:56 +0000 (+0000) Subject: can override nodefaultroute/noproxyarp if privileged X-Git-Tag: RELEASE_2_3_6~329 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=90f1062610c1a883e9da918daa3b9e2f162d69c2;hp=c0ef0c559adaaf56a3afd48bab0a674312b70eb7 can override nodefaultroute/noproxyarp if privileged --- diff --git a/pppd/options.c b/pppd/options.c index 2db98fc..c288e53 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: options.c,v 1.33 1996/08/28 06:41:35 paulus Exp $"; +static char rcsid[] = "$Id: options.c,v 1.34 1996/09/14 05:16:56 paulus Exp $"; #endif #include @@ -1776,7 +1776,7 @@ setnoauth() static int setdefaultroute() { - if (!ipcp_allowoptions[0].default_route && !privileged_option) { + if (!ipcp_allowoptions[0].default_route) { option_error("defaultroute option is disabled"); return 0; } @@ -1795,7 +1795,7 @@ setnodefaultroute() static int setproxyarp() { - if (!ipcp_allowoptions[0].proxy_arp && !privileged_option) { + if (!ipcp_allowoptions[0].proxy_arp) { option_error("proxyarp option is disabled"); return 0; }