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

Do not turn on routing/devmem options on remote jails.

parent f3a8d51b
......@@ -4382,9 +4382,10 @@ COMMAND_PROTOTYPE(dojailconfig)
"INETRAW=1\n"
"BPFRO=1\n"
"INADDRANY=1\n"
"ROUTING=1\n"
"DEVMEM=1\n",
low, high, atoi(row[0]));
"ROUTING=%d\n"
"DEVMEM=%d\n",
low, high, atoi(row[0]), reqp->islocal, reqp->islocal);
client_writeback(sock, buf, strlen(buf), tcp);
mysql_free_result(res);
......
Markdown is supported
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