From 90f1062610c1a883e9da918daa3b9e2f162d69c2 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Sat, 14 Sep 1996 05:16:56 +0000 Subject: [PATCH] can override nodefaultroute/noproxyarp if privileged --- pppd/options.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.2