ppp: unconditionally start pppd with nodefaultroute and usepeerdns (#12580)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 6 Dec 2012 18:17:21 +0000 (18:17 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 6 Dec 2012 18:17:21 +0000 (18:17 +0000)
commit133c2949375fcec80d66ce7e6188e5951d3fe73a
treed9d3e4f6714aa11a2a03a415f7f6e3744fda9757
parented956511982aa12b56085d7a8617fff0aef8cade
ppp: unconditionally start pppd with nodefaultroute and usepeerdns (#12580)

Since the switch to netifd, proto handlers may always set the defaultroute
and provide dns server addresses, netifd will decide in the generic code
path whether the announced values are masked or not.

Additionally protocol handlers should not modify the routing tables themselves
and prevent any launched services from doing so.

Remove the additional defaultroute and peerdns option handling from the ppp.sh
protocol handler and rely on netifd to mask or not mask the values.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34536 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/ppp/Makefile
package/network/services/ppp/files/ppp.sh