diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-02 14:48:53 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-02 14:48:53 +0200 |
commit | 8234f9d9062cd21daafec5c360d7221e45e97469 (patch) | |
tree | d4f3eeb246e97cb50361bb931da605ef47f5622a /rc | |
parent | 1f3c43c01720ed66e7c981d3287eca7dae362ba8 (diff) |
ipv6on: fix search for ip attribute (thanks kenji arisawa)
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/ipv6on | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/ipv6on b/rc/bin/ipv6on index 996e8478d..2bcb98898 100755 --- a/rc/bin/ipv6on +++ b/rc/bin/ipv6on @@ -48,8 +48,8 @@ if (! ip/ipconfig -6 $xdir ether $netdir/ether?) 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 |