From 625a08d1e711468b619a43df773e86fe394a8378 Mon Sep 17 00:00:00 2001 From: marko Date: Wed, 10 Aug 2005 14:36:10 +0000 Subject: [PATCH] Enable IPv6 forwarding for routers. This was unintentionaly disabled / overlooked in the process of separating node-type specific code from exec.tcl a few weeks ago. Bug found by: Submitted by: Requested by: Reviewed by: Approved by: Obtained from: --- quagga.tcl | 1 + static.tcl | 1 + xorp.tcl | 1 + 3 files changed, 3 insertions(+) diff --git a/quagga.tcl b/quagga.tcl index 0e2f760..adea85c 100755 --- a/quagga.tcl +++ b/quagga.tcl @@ -100,6 +100,7 @@ proc $MODULE.instantiate { eid node } { set node_id "$eid\_$node" l3node.instantiate $eid $node nexec vimage $node_id sysctl net.inet.ip.forwarding=1 + catch { nexec vimage $node_id sysctl net.inet6.ip6.forwarding=1 } return } diff --git a/static.tcl b/static.tcl index 4309dbf..1e1311a 100755 --- a/static.tcl +++ b/static.tcl @@ -85,6 +85,7 @@ proc $MODULE.instantiate { eid node } { set node_id "$eid\_$node" l3node.instantiate $eid $node nexec vimage $node_id sysctl net.inet.ip.forwarding=1 + catch { nexec vimage $node_id sysctl net.inet6.ip6.forwarding=1 } return } diff --git a/xorp.tcl b/xorp.tcl index 262dfdf..1a3308a 100755 --- a/xorp.tcl +++ b/xorp.tcl @@ -175,6 +175,7 @@ proc $MODULE.instantiate { eid node } { set node_id "$eid\_$node" l3node.instantiate $eid $node nexec vimage $node_id sysctl net.inet.ip.forwarding=1 + catch { nexec vimage $node_id sysctl net.inet6.ip6.forwarding=1 } return } -- 2.39.5