changeset 730:3aa40dab7e75 draft

peer2anonet pinghack bug fixed
author d3v11 <d3v11@d3v11.ano>
date Thu, 03 Nov 2011 20:07:15 -0400
parents e8d1fe231dc3
children 3e088515f092
files contrib/peer2anonet/peer2anonet
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/peer2anonet/peer2anonet	Thu Nov 03 19:45:30 2011 -0400
+++ b/contrib/peer2anonet/peer2anonet	Thu Nov 03 20:07:15 2011 -0400
@@ -168,7 +168,7 @@
  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