Commit fdb9600a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fixes.

parent 075110cd
......@@ -1935,7 +1935,7 @@ sub dotunnels(;$)
my $config = TMROUTECONFIG;
$config =~ s/\/\//\//g;
my $rtabopt= "";
if (defined($rtabopt)) {
if (defined($rtabid)) {
$rtabopt = " ifconfig \"%% rtabid $rtabid\";\n";
}
......
......@@ -1935,7 +1935,7 @@ sub dotunnels(;$)
my $config = TMROUTECONFIG;
$config =~ s/\/\//\//g;
my $rtabopt= "";
if (defined($rtabopt)) {
if (defined($rtabid)) {
$rtabopt = " ifconfig \"%% rtabid $rtabid\";\n";
}
......
......@@ -4371,8 +4371,8 @@ COMMAND_PROTOTYPE(dojailconfig)
row = mysql_fetch_row(res);
bzero(buf, sizeof(buf));
if (1 && row[1]) {
sprintf(buf, "JAILIP=\"%s,%s\"\n", row[1], "255.255.255.255");
if (row[1]) {
sprintf(buf, "JAILIP=\"%s,%s\"\n", row[1], JAILIPMASK);
}
sprintf(&buf[strlen(buf)],
......
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