From ca79d1c23d6e9e97a945dc658a0e3f2ab961ad7f Mon Sep 17 00:00:00 2001
From: "Leigh B. Stoller" <stoller@flux.utah.edu>
Date: Thu, 28 Oct 2004 18:35:02 +0000
Subject: [PATCH] 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!

---
 tbsetup/frisbeelauncher.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tbsetup/frisbeelauncher.in b/tbsetup/frisbeelauncher.in
index b894603588..86cdd9c29b 100755
--- a/tbsetup/frisbeelauncher.in
+++ b/tbsetup/frisbeelauncher.in
@@ -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");
 			}
 		}
-- 
GitLab