xl2tpd: unconditionally configure daemon with nodefaultroute and usepeerdns (#12580)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 6 Dec 2012 18:17:41 +0000 (18:17 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 6 Dec 2012 18:17:41 +0000 (18:17 +0000)
commit11969159288cd0fbfe6b30de085fed4e481f42c3
treec8d172047491d67937e5a2605895f1b2b522dda6
parente73c3a92e025a8cbadfb0c60facb869f5a0adbfe
xl2tpd: unconditionally configure daemon 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/packages@34537 3c298f89-4303-0410-b956-a3cf2f4a3e73
net/xl2tpd/files/l2tp.sh