added possibility to route CHILD_SAs, without to set them up
support for auto=route parameter support for ipsec route and ipsec unroute initiating of CHILD and/or IKE_SAs based on kernel acquires
This commit is contained in:
@@ -159,7 +159,7 @@ int starter_stroke_del_conn(starter_conn_t *conn)
|
||||
|
||||
msg.type = STR_DEL_CONN;
|
||||
msg.length = offsetof(stroke_msg_t, buffer);
|
||||
msg.install.name = push_string(&msg, connection_name(conn));
|
||||
msg.del_conn.name = push_string(&msg, connection_name(conn));
|
||||
return send_stroke_msg(&msg);
|
||||
}
|
||||
|
||||
@@ -167,9 +167,9 @@ int starter_stroke_route_conn(starter_conn_t *conn)
|
||||
{
|
||||
stroke_msg_t msg;
|
||||
|
||||
msg.type = STR_INSTALL;
|
||||
msg.type = STR_ROUTE;
|
||||
msg.length = offsetof(stroke_msg_t, buffer);
|
||||
msg.install.name = push_string(&msg, connection_name(conn));
|
||||
msg.route.name = push_string(&msg, connection_name(conn));
|
||||
return send_stroke_msg(&msg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user