Fixed OpenSwan Route in pppd setups.

Specifying the explicit ppp0 device prevents wrong route setup after reconnect.
This commit is contained in:
Marcus Scholz
2009-09-05 22:01:06 +02:00
parent f3b4e64641
commit afdcc3c2c7

View File

@@ -80,4 +80,4 @@ mv /tmp/hosts /etc/hosts
[ -e "/var/ipfire/ppp/nobeeps" ] || /etc/rc.d/init.d/beep up
/sbin/ip route replace default via ${IPREMOTE}
/sbin/ip route replace default via ${IPREMOTE} dev ppp0