ref: 567df638ac46091d64d6616f429293b6ed3a3675
parent: b56450471faccd9d21633dc8d836a5b18d34535f
author: cinap_lenrek <[email protected]>
date: Tue Oct 2 20:53:10 EDT 2018
cpurc: filter ipv6 loopback address for automatic ip address setup (thanks fhs)
--- a/rc/bin/cpurc
+++ b/rc/bin/cpurc
@@ -55,7 +55,7 @@
# automatic ip address setup
if(test -r /net/ipselftab){
- if(! grep u /net/ipselftab | grep -sv 127.0.0.1){
+ if(! grep u /net/ipselftab | grep -sv '^(127.0.0.1|::1)'){
addrs=`{ndb/query -a sys $sysname ether}
if(! ~ $#addrs 0){
for(ether in /net/ether*){
--- a/rc/bin/termrc
+++ b/rc/bin/termrc
@@ -56,7 +56,7 @@
# automatic ip address setup
if(test -r /net/ipselftab){
- if(! grep u /net/ipselftab | grep -sv 127.0.0.1){
+ if(! grep u /net/ipselftab | grep -sv '^(127.0.0.1|::1)'){
addrs=`{ndb/query -a sys $sysname ether}
if(! ~ $#addrs 0){
for(ether in /net/ether*){