added verbosity level to stroke
This commit is contained in:
@@ -57,6 +57,8 @@ static int send_stroke_msg (stroke_msg_t *msg)
|
||||
char buffer[64];
|
||||
int byte_count;
|
||||
|
||||
msg->output_verbosity = 1; /* CONTROL */
|
||||
|
||||
sock = socket(AF_UNIX, SOCK_STREAM, 0);
|
||||
if (sock < 0)
|
||||
{
|
||||
|
||||
@@ -122,6 +122,9 @@ struct stroke_msg_t {
|
||||
STR_REREAD
|
||||
/* more to come */
|
||||
} type;
|
||||
|
||||
/* verbosity of output returned from charon (-from -1=silent to 4=private)*/
|
||||
int output_verbosity;
|
||||
|
||||
union {
|
||||
/* data for STR_INITIATE, STR_ROUTE, STR_UP, STR_DOWN, ... */
|
||||
|
||||
Reference in New Issue
Block a user