From 5791cc55a0f93c3c145bd3f2c401a7bfc6ddc196 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 17 Jun 2012 22:32:51 +0000 Subject: [PATCH] routing: Fix creating of routing tables for uplinks. --- functions.routing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.47.3