git: 9front

Download patch

ref: 2aa8e4d2a53ea07cd279b7991f5f2dadef779433
parent: 0c8aae51e1ea7904a7ea99b0ce2dc79223440a18
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
--