From: marko Date: Wed, 13 Jul 2005 16:45:35 +0000 (+0000) Subject: Add a missing line with "!" after each protocol section in final X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=284ba407f63ec43ff02cf26a3975b0e12439e7c6;p=imunes.git Add a missing line with "!" after each protocol section in final quagga configuration. Remove stale #nexec section from imunes.tcl Bug found by: Submitted by: Requested by: Reviewed by: Approved by: Obtained from: --- diff --git a/exec.tcl b/exec.tcl index 677fabb..7174bb0 100755 --- a/exec.tcl +++ b/exec.tcl @@ -33,10 +33,12 @@ # and Technology through the research contract #IP-2003-143. # + proc nexec { args } { - eval exec $args + exec $args } + proc setOperMode { mode } { global oper_mode activetool nodes global nmbufs nmbclusters diff --git a/imunes.tcl b/imunes.tcl index 7d37f83..b2f76b2 100755 --- a/imunes.tcl +++ b/imunes.tcl @@ -112,9 +112,6 @@ if { [file exists /usr/local/xorp/bin/xorp_rtrmgr] } { set supp_router_models "xorp $supp_router_models" } -#proc nexec { args } { - #exec $args -#} # # Initialization should be complete now, so let's start doing something... diff --git a/quagga.tcl b/quagga.tcl index 231a673..c210e19 100755 --- a/quagga.tcl +++ b/quagga.tcl @@ -66,6 +66,7 @@ proc $MODULE.cfggen { node } { lappend cfg "$line" } } + lappend cfg "!" } foreach statrte [getStatIPv4routes $node] {