Commit ca79d1c2 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add -i option to frisbeed, using config variable BOSSNODE_IP, which is

the value of boss's control network IP address, which tells frisbeed
how to route our multicast addresses. This came up when trying to
runs frisbeed on elabinelab, where inner boss is effectively
multihomed, with a default route pointing to the external world, not
the inner world!
parent d82e2569
......@@ -26,6 +26,7 @@ my $killmode = 0;
# Configure variables
my $TB = "@prefix@";
my $TBOPS = "@TBOPSEMAIL@";
my $BOSSNODE_IP = "@BOSSNODE_IP@";
#
# Untaint the path
......@@ -280,7 +281,8 @@ while (1) {
my $addr = $1;
my $port = $2;
if (!exec("$FRISBEED -W $BW -m $addr -p $port $filename")) {
if (!exec("$FRISBEED -W $BW -m $addr -i $BOSSNODE_IP ".
"-p $port $filename")) {
die("$$: Unable to exec $FRISBEED\n");
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment