Add a "ipsec listcounters" command to stroke

This commit is contained in:
Martin Willi
2012-10-24 11:34:31 +02:00
parent f9332e0a8b
commit 0c4b9f7cda
7 changed files with 16 additions and 5 deletions
@@ -395,6 +395,10 @@ static void stroke_list(private_stroke_socket_t *this, stroke_msg_t *msg, FILE *
this->ca->list(this->ca, msg, out);
}
this->list->list(this->list, msg, out);
if (msg->list.flags & LIST_COUNTERS)
{
this->counter->print(this->counter, out);
}
}
/**