shithub: riscv

Download patch

ref: 8234f9d9062cd21daafec5c360d7221e45e97469
parent: 1f3c43c01720ed66e7c981d3287eca7dae362ba8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 2 10:48:53 EDT 2015

ipv6on: fix search for ip attribute (thanks kenji arisawa)

--- a/rc/bin/ipv6on
+++ b/rc/bin/ipv6on
@@ -48,8 +48,8 @@
 ip/ipconfig $xdir ether $netdir/ether? ra6 recvra 1
 
 mev6=`{ndb/query -f $ndbf sys $sysname ipv6}
-if (~ $#sysname 0 || ~ $sysname '')
-	mev6=`{ndb/query -f $ndbf sys $sysname ip | grep :}
+if (~ $#mev6 0 || ~ $mev6 '')
+	mev6=`{ndb/query -mf $ndbf sys $sysname ip | grep :}
 # mev4=`{ndb/query -f $ndbf sys $sysname ip | grep -v :}
 
 # for testing