From 864bc1a2d090fd8d6b9b05238fdabd43fb8ff6e8 Mon Sep 17 00:00:00 2001 From: Josip Rodin Date: Sun, 13 Sep 2009 15:29:59 +0200 Subject: [PATCH] multi-exper support --- linux/quagga.tcl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux/quagga.tcl b/linux/quagga.tcl index d71499b..2c27493 100755 --- a/linux/quagga.tcl +++ b/linux/quagga.tcl @@ -187,11 +187,11 @@ proc $MODULE.shellcmd { node } { # and routing model is quagga) #**** proc $MODULE.instantiate { eid node } { - set node_id "$eid\.$node" l3node.instantiate $eid $node - - nexec vzctl exec $node sysctl -w net/ipv4/ip_forward=1 - nexec vzctl exec $node sysctl -w net/ipv6/conf/all/forwarding=1 + + upvar 0 ::cf::[set ::curcfg]::[set node]::node_id node_id + nexec vzctl exec $node_id sysctl -w net/ipv4/ip_forward=1 + nexec vzctl exec $node_id sysctl -w net/ipv6/conf/all/forwarding=1 puts " $eid $node ima aktivan IPv4 & IPv6 forwarding" -- 2.39.5