Changeset b745876


Ignore:
Timestamp:
Jul 13, 2012 10:21:06 AM (12 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
7e55a14
Parents:
87b1a06
Message:

Deal with lists of IP addrs as host routes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/prep_gateway.pl

    r87b1a06 rb745876  
    6868    # Add the route to a peer.  Wait up to an hour for the peer's IP address to
    6969    # appear in the DNS.
    70     gateway_lib::add_route($peer, $router, 1, 60 *60)
    71         if $peer && $router;
     70    foreach my $p (split(/\s*,\s*/, $peer) {
     71        gateway_lib::add_route($p, $router, 1, 60 *60)
     72            if $p && $router;
     73    }
    7274}
    7375my $coord_fn = "$fed_dir/etc/prep_done";
Note: See TracChangeset for help on using the changeset viewer.