summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-11-03 20:09:30 -0400
committerd3v11 <d3v11@d3v11.ano>2011-11-03 20:09:30 -0400
commit8c4564fc4c6f9f94bd837af6ba5716d9b58c6f3a (patch)
tree28ff497e7fd75f3b3865837d23c66e1437dce9f5
parentcd1cd5834b7c5863ac1c462df68653d2fc70b9e0 (diff)
downloadresdb-8c4564fc4c6f9f94bd837af6ba5716d9b58c6f3a.tar.gz
resdb-8c4564fc4c6f9f94bd837af6ba5716d9b58c6f3a.zip
peer2anonet update
-rw-r--r--contrib/peer2anonet/peer2anonet2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index 1072659..4bbb164 100644
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -168,6 +168,8 @@ export INTERFACE=ppp-$PEERNAME
ip addr add $P2A_IP peer $PEERIP/32 dev \$INTERFACE scope link
ip addr add $P2A_ROUTE/32 dev \$INTERFACE scope global
ip link set dev \$INTERFACE up
+# comment the following ping line to remove pinghack. this is a
+# trick used to help bird connect.
ping -c 1 -I \$INTERFACE $PEERIP -r -w 5
) &
exec /usr/sbin/quicktun.nacltai" > /services/"$PEERNAME"/run