]> git.entuzijast.net Git - imunes.git/commitdiff
quaggini pokusaji da digne IPv6 interfaceove i route rezultiraju s greskom (-EINVAL...
authorKosta Pribić <kosta.pribic@gmail.com>
Fri, 16 Oct 2009 13:01:08 +0000 (15:01 +0200)
committerKosta Pribić <kosta.pribic@gmail.com>
Fri, 16 Oct 2009 13:01:08 +0000 (15:01 +0200)
linux/quagga.tcl

index ecc5e1d44207707485a513bbb090a4ad15c12df3..e36edee6fd504636e68e2d47af2f59736663f7ae 100755 (executable)
@@ -93,10 +93,11 @@ proc $MODULE.cfggen { node } {
        if { $addr != "" } {
            lappend cfg " ip address $addr"
        }
-       set addr [getIfcIPv6addr $node $ifc]
-       if { $addr != "" } {
-           lappend cfg " ipv6 address $addr"
-       }
+# TODO: IPv6 Quagga support
+#      set addr [getIfcIPv6addr $node $ifc]
+#      if { $addr != "" } {
+#          lappend cfg " ipv6 address $addr"
+#      }
        if { [getIfcOperState $node $ifc] == "down" } {
            lappend cfg " shutdown"
        }
@@ -117,9 +118,10 @@ proc $MODULE.cfggen { node } {
     foreach statrte [getStatIPv4routes $node] {
        lappend cfg "ip route $statrte"
     }
-    foreach statrte [getStatIPv6routes $node] {
-       lappend cfg "ipv6 route $statrte"
-    }
+# TODO: IPv6 Quagga support
+#    foreach statrte [getStatIPv6routes $node] {
+#      lappend cfg "ipv6 route $statrte"
+#    }
 
     return $cfg
 }
@@ -231,9 +233,10 @@ proc $MODULE.start { eid node } {
 
     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
+# TODO: IPv6 Quagga support
+#    nexec vzctl exec $node_id sysctl -w net/ipv6/conf/all/forwarding=1
 
-    puts " $eid $node ima aktivan IPv4 & IPv6 forwarding"
+    puts " $eid $node ima aktivan IPv4 forwarding"
 
 }