merged tasking branch into trunk
This commit is contained in:
@@ -252,7 +252,8 @@ kw_end(starter_conn_t *conn, starter_end_t *end, kw_token_t token
|
||||
plog("# natip and sourceip cannot be defined at the same time");
|
||||
goto err;
|
||||
}
|
||||
if (streq(value, "%modeconfig") || streq(value, "%modecfg"))
|
||||
if (streq(value, "%modeconfig") || streq(value, "%modecfg") ||
|
||||
streq(value, "%config") || streq(value, "%cfg"))
|
||||
{
|
||||
end->modecfg = TRUE;
|
||||
}
|
||||
|
||||
@@ -166,6 +166,9 @@ static void starter_stroke_add_end(stroke_msg_t *msg, stroke_end_t *msg_end, sta
|
||||
msg_end->hostaccess = conn_end->hostaccess;
|
||||
msg_end->protocol = conn_end->protocol;
|
||||
msg_end->port = conn_end->port;
|
||||
msg_end->virtual_ip = conn_end->modecfg;
|
||||
ip_address2string(&conn_end->srcip, buffer, sizeof(buffer));
|
||||
msg_end->sourceip = push_string(msg, buffer);
|
||||
}
|
||||
|
||||
int starter_stroke_add_conn(starter_conn_t *conn)
|
||||
|
||||
Reference in New Issue
Block a user