From: Michael Tremer Date: Tue, 5 Jun 2012 20:52:10 +0000 (+0000) Subject: routing: Fix check for Point-to-Point devices. X-Git-Tag: 004~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00b2c5c9ee5208121cca4c5d2cade784e897c55e;p=network.git routing: Fix check for Point-to-Point devices. However, what we wanted to check here is a ptp device instead of ppp devices. --- diff --git a/functions.routing b/functions.routing index 7fca8ba9..fec1a514 100644 --- a/functions.routing +++ b/functions.routing @@ -52,9 +52,9 @@ function routing_default_update() { assert device_exists ${zone} - # If we have got a PPP device, we will directly send all + # If we have got a Point-to-Point device, we will directly send all # packets into the pipe. - if device_is_ppp ${zone}; then + if device_is_ptp ${zone}; then routes="${routes} dev ${zone}" # On other devices, we will use the gateway if we got one.