Changeset 4a02274 for fedkit/setup_bridge.pl
- Timestamp:
- Mar 10, 2014 11:12:49 AM (11 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/setup_bridge.pl
r26821ac r4a02274 13 13 my $fedkit_dir= "/usr/local/federation"; 14 14 my $perl = "/usr/bin/perl"; 15 my $peer; 15 16 my $use_file; 16 17 my %opts = ( … … 18 19 'addr=s' => \$addr, 19 20 'dest=s' => \$dest, 21 'peer=s' => \$peer, 20 22 'use_file', \$use_file, 21 23 ); 22 24 23 25 exit(20) unless GetOptions(%opts); 24 gateway_lib::read_config(gateway_lib:: emulab_config_filename(), \%opts)26 gateway_lib::read_config(gateway_lib::config_filename(), \%opts) 25 27 if $use_file; 26 28 … … 34 36 35 37 gateway_lib::bind_tap_to_iface($tapno, $iface); 38 gateway_lib::ping_peer($peer) 39 if $peer; 36 40 37 41 exit(0);
Note: See TracChangeset
for help on using the changeset viewer.