From faea76e8bc626549f4d338a3bf22e466336264ca Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 20 Jun 2009 20:07:33 +0200 Subject: conntrackd: rename `-s queue' option by `-s rsqueue' This patch renames the statistics option that displays the content of the resend queue which is used by the ftfw mode. Signed-off-by: Pablo Neira Ayuso --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 6b320d1..ca491f2 100644 --- a/src/main.c +++ b/src/main.c @@ -44,7 +44,7 @@ static const char usage_client_commands[] = " -i, display content of the internal cache\n" " -e, display the content of the external cache\n" " -k, kill conntrack daemon\n" - " -s [|network|cache|runtime|link|queue], dump statistics\n" + " -s [|network|cache|runtime|link|rsqueue], dump statistics\n" " -R, resync with kernel conntrack table\n" " -n, request resync with other node (only FT-FW and NOTRACK modes)\n" " -x, dump cache in XML format (requires -i or -e)\n" @@ -210,9 +210,9 @@ int main(int argc, char *argv[]) strlen(argv[i+1])) == 0) { action = STATS_LINK; i++; - } else if (strncmp(argv[i+1], "queue", + } else if (strncmp(argv[i+1], "rsqueue", strlen(argv[i+1])) == 0) { - action = STATS_QUEUE; + action = STATS_RSQUEUE; i++; } else if (strncmp(argv[i+1], "process", strlen(argv[i+1])) == 0) { -- cgit v1.2.3