X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fppp%2Fpatches%2F110-debian_defaultroute.patch;fp=package%2Fppp%2Fpatches%2F110-debian_defaultroute.patch;h=41d28909be4511d2af4d8dcb651d2bdb34d1f3aa;hb=5cae7371a78b99af668d4e1f43c985a8b707aa33;hp=0a0691e9838eccc6429500cb998f60415640769f;hpb=7c90f3b2b498531a267b0e85c4f634f65d76eba8;p=openwrt.git diff --git a/package/ppp/patches/110-debian_defaultroute.patch b/package/ppp/patches/110-debian_defaultroute.patch index 0a0691e983..41d28909be 100644 --- a/package/ppp/patches/110-debian_defaultroute.patch +++ b/package/ppp/patches/110-debian_defaultroute.patch @@ -1,3 +1,15 @@ +pppd: Add "replacedefaultroute" and "noreplacedefaultroute" options + +This patch implements two new options, "replacedefaultroute" to replace any +existing system default route when specified and "noreplacedefaultroute" to +disable the "replacedefaultroute" option, which is useful in multi user +environments where the administrator wants to allow users to dial pppd +connections but not allow them to change the system default route. + +The patch originated from the Debian project. + +Signed-off-by: Jo-Philipp Wich + --- a/pppd/ipcp.c +++ b/pppd/ipcp.c @@ -198,6 +198,14 @@ static option_t ipcp_option_list[] = {