From: Michael Tremer Date: Sun, 17 Jun 2012 22:32:51 +0000 (+0000) Subject: routing: Fix creating of routing tables for uplinks. X-Git-Tag: 004~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5791cc55a0f93c3c145bd3f2c401a7bfc6ddc196;p=network.git routing: Fix creating of routing tables for uplinks. --- diff --git a/functions.routing b/functions.routing index fec1a514..111f7baf 100644 --- a/functions.routing +++ b/functions.routing @@ -118,7 +118,7 @@ function routing_table_create() { log INFO "Creating routing table for zone '${zone}'" - local id=$(( ${zone#red} + 1 )) + local id=$(( ${zone#${ZONE_NONLOCAL}} + 1 )) echo "${id} ${zone}" >> /etc/iproute2/rt_tables }