From 00b2c5c9ee5208121cca4c5d2cade784e897c55e Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 5 Jun 2012 20:52:10 +0000 Subject: [PATCH] routing: Fix check for Point-to-Point devices. However, what we wanted to check here is a ptp device instead of ppp devices. --- functions.routing | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.47.3