Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
4c2fd978
Commit
4c2fd978
authored
Aug 10, 2011
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweak for making boss the FSNODE.
parent
aefe785a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tmcd/tmcd.c
tmcd/tmcd.c
+2
-1
No files found.
tmcd/tmcd.c
View file @
4c2fd978
...
@@ -8018,7 +8018,8 @@ COMMAND_PROTOTYPE(doemulabconfig)
...
@@ -8018,7 +8018,8 @@ COMMAND_PROTOTYPE(doemulabconfig)
while (nrows--) {
while (nrows--) {
row = mysql_fetch_row(res);
row = mysql_fetch_row(res);
if
(
!
strcmp
(
row
[
1
],
"boss"
)
||
!
strcmp
(
row
[
1
],
"boss+router"
))
{
if (!strcmp(row[1], "boss") || !strcmp(row[1], "boss+router") ||
!strcmp(row[1], "boss+fs+router")) {
bufp += OUTPUT(bufp, ebufp - bufp, "BOSSNODE=%s\n",
bufp += OUTPUT(bufp, ebufp - bufp, "BOSSNODE=%s\n",
row[3]);
row[3]);
bufp += OUTPUT(bufp, ebufp - bufp, "BOSSIP=%s\n",
bufp += OUTPUT(bufp, ebufp - bufp, "BOSSIP=%s\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment