summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-11-03 20:07:15 -0400
committerd3v11 <d3v11@d3v11.ano>2011-11-03 20:07:15 -0400
commitcd1cd5834b7c5863ac1c462df68653d2fc70b9e0 (patch)
tree6ae40006aa2a4920ae3cf11b4dab7fe2339ae6f5 /contrib
parentb793e8463cdaec932d3de4e52514cc2f2aeb4fc3 (diff)
downloadresdb-cd1cd5834b7c5863ac1c462df68653d2fc70b9e0.tar.gz
resdb-cd1cd5834b7c5863ac1c462df68653d2fc70b9e0.zip
peer2anonet pinghack bug fixed
Diffstat (limited to 'contrib')
-rw-r--r--contrib/peer2anonet/peer2anonet2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index 9816304..1072659 100644
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -168,7 +168,7 @@ 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
- ping -c 1 -I \$INTERFACE -r -w 5
+ ping -c 1 -I \$INTERFACE $PEERIP -r -w 5
) &
exec /usr/sbin/quicktun.nacltai" > /services/"$PEERNAME"/run
chmod +x /services/"$PEERNAME"/run