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

Return the event server in the jailconfig call. Should probably

generalize this.
parent 4ab48062
......@@ -5051,6 +5051,16 @@ COMMAND_PROTOTYPE(dojailconfig)
if (!reqp->jailflag)
return 0;
* geni nodes get something completely different.
if (reqp->genisliver_idx) {
OUTPUT(bufp, sizeof(buf),
"EVENTSERVER=\"event-server.%s\"\n", OURDOMAIN);
client_writeback(sock, buf, strlen(buf), tcp);
return 0;
* Get the portrange for the experiment. Cons up the other params I
* can think of right now.
......@@ -5108,8 +5118,10 @@ COMMAND_PROTOTYPE(dojailconfig)
low, high, atoi(row[0]), reqp->islocal, reqp->islocal);
low, high, atoi(row[0]), reqp->islocal, reqp->islocal,
client_writeback(sock, buf, strlen(buf), tcp);
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