xl2tpd: unconditionally configure daemon with nodefaultroute and usepeerdns (#12580)
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 6 Dec 2012 18:17:41 +0000 (18:17 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 6 Dec 2012 18:17:41 +0000 (18:17 +0000)
commitd7c47b76cf7a0e24d125a8b0cc9e4bec168c7832
treec8d172047491d67937e5a2605895f1b2b522dda6
parente8a39a809210403c68d52815ae6514bf1081bbb0
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.

SVN-Revision: 34537
net/xl2tpd/files/l2tp.sh