summaryrefslogtreecommitdiff
path: root/net/6to4
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-02-23 15:13:02 +0000
committerhubertf <hubertf@pkgsrc.org>2001-02-23 15:13:02 +0000
commitc9ff101472c03ada1952d3e296b4970ef53dc854 (patch)
tree787da23f6dcb569990938ab32e7e1b9b1b70a7ad /net/6to4
parent2409918a1306e2927f3ba292d92f95257f069b68 (diff)
downloadpkgsrc-c9ff101472c03ada1952d3e296b4970ef53dc854.tar.gz
remove debug code to work with LOCALBASE!=/usr/pkg
Pointed out by Dieter Baron <dillo@danbala.ifoer.tuwien.ac.at>
Diffstat (limited to 'net/6to4')
-rwxr-xr-xnet/6to4/files/6to48
1 files changed, 6 insertions, 2 deletions
diff --git a/net/6to4/files/6to4 b/net/6to4/files/6to4
index 9bf5a02ac3e..8a42c8ecf18 100755
--- a/net/6to4/files/6to4
+++ b/net/6to4/files/6to4
@@ -5,8 +5,8 @@
# (c) Copyright 2000 Hubert Feyrer <hubert@feyrer.de>
#
-#$etcdir="@PREFIX@/etc";
-$etcdir="/usr/pkg/etc";
+$etcdir="@PREFIX@/etc";
+#$etcdir="/usr/pkg/etc"; # debug
require "$etcdir/6to4.conf";
@@ -126,7 +126,11 @@ if ($ARGV[0] eq "rtadvd-start" or $ARGV[0] eq "start-rtadvd" ) {
print "rtadvd already running!\n";
} else {
run("sysctl -w net.inet6.ip6.forwarding=1");
+<<<<<<< 6to4
+ run("sysctl -w net.inet6.ip6.accept_rtadvd=1");
+=======
run("sysctl -w net.inet6.ip6.accept_rtadv=0");
run("rtadvd $in_if");
+>>>>>>> 1.4
}
}