summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnet/6to4/files/6to42
1 files changed, 1 insertions, 1 deletions
diff --git a/net/6to4/files/6to4 b/net/6to4/files/6to4
index 8f753bdb1dd..18f5e31c240 100755
--- a/net/6to4/files/6to4
+++ b/net/6to4/files/6to4
@@ -57,7 +57,7 @@ if (`ifconfig -a | grep fe80: | wc -l` <= 0 or
#
# Figure out IP#s etc.
#
-$localadr4 = `ifconfig $out_if inet | grep inet`;
+$localadr4 = `ifconfig $out_if inet | grep inet | grep -v alias`;
$localadr4 =~ s/^.*inet\s*//;
$localadr4 =~ s/\s.*$//;
chomp($localadr4);