Ignore:
Timestamp:
Mar 10, 2014 11:12:49 AM (10 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
a2ca699
Parents:
26821ac (diff), dffa585 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into shared_nat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/gateway_lib.pm

    r26821ac r4a02274  
    434434}
    435435
     436# Fling a few ping packets at the peer in the hopes that it opens doors through
     437# NATs and other filters.  Practically speaking this can make a big difference.
     438sub ping_peer {
     439    my($peer) = @_;
     440    system("ping -c 5 $peer");
     441}
     442
    436443sub testcmd_repeat {
    437444    my($cmd, $timeout, $sleep) = @_;
Note: See TracChangeset for help on using the changeset viewer.