From: Michael Tremer Date: Sat, 15 Sep 2012 18:43:16 +0000 (+0000) Subject: routing: Fix construction of invalid ip command. X-Git-Tag: 005~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=59187e11f87fc8fb57762c6ef7e4c1bb75425dfa;p=network.git routing: Fix construction of invalid ip command. --- diff --git a/functions.routing b/functions.routing index ed9280c8..a57fa36d 100644 --- a/functions.routing +++ b/functions.routing @@ -56,7 +56,7 @@ function routing_default_update() { # If we have got a Point-to-Point device, we will directly send all # packets into the pipe. if device_is_ptp ${zone}; then - routes="${routes} nexthop dev ${zone}" + routes="${routes} dev ${zone}" # On other devices, we will use the gateway if we got one. elif isset gateway; then