Add a route to pptp peer at pptp over dhcp mode.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 25 Oct 2009 09:48:07 +0000 (10:48 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 25 Oct 2009 09:48:07 +0000 (10:48 +0100)
src/initscripts/init.d/networking/red

index b1b4341c416b37f3e4896eb9d5e90b49d05b77e3..b694a3c04e8f62c149d32bb9c4e87eb2b447081c 100644 (file)
@@ -362,7 +362,7 @@ case "${1}" in
                                                                boot_mesg_flush
                                                                boot_mesg "           DNS Server:      $DNS"
                                                                boot_mesg_flush
-
+                                                               /sbin/route add $PPTP_PEER gw $GATEWAY $PPP_NIC
                                                        else
                                                                echo ""
                                                                $(exit "$RET")