From 556e426fd863f2fa389f1e4a4da0989e820545f6 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 1 Jul 2008 13:47:26 +0000 Subject: [PATCH] renamed STROKE_DOWNSRCIP to STROKE_DOWN_SRCIP --- src/stroke/stroke.c | 4 ++-- src/stroke/stroke_keywords.h | 2 +- src/stroke/stroke_keywords.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c index 01537b321..4381d27ae 100644 --- a/src/stroke/stroke.c +++ b/src/stroke/stroke.c @@ -368,10 +368,10 @@ int main(int argc, char *argv[]) } res = terminate_connection(argv[2]); break; - case STROKE_DOWNSRCIP: + case STROKE_DOWN_SRCIP: if (argc < 3) { - exit_usage("\"down-srcip\" needs start and end address"); + exit_usage("\"down-srcip\" needs start and optional end address"); } res = terminate_connection_srcip(argv[2], argc > 3 ? argv[3] : NULL); break; diff --git a/src/stroke/stroke_keywords.h b/src/stroke/stroke_keywords.h index b99863178..db74621e1 100644 --- a/src/stroke/stroke_keywords.h +++ b/src/stroke/stroke_keywords.h @@ -26,7 +26,7 @@ typedef enum { STROKE_UNROUTE, STROKE_UP, STROKE_DOWN, - STROKE_DOWNSRCIP, + STROKE_DOWN_SRCIP, STROKE_LOGLEVEL, STROKE_STATUS, STROKE_STATUSALL, diff --git a/src/stroke/stroke_keywords.txt b/src/stroke/stroke_keywords.txt index dfe03fb6a..096a5f93a 100644 --- a/src/stroke/stroke_keywords.txt +++ b/src/stroke/stroke_keywords.txt @@ -33,7 +33,7 @@ route, STROKE_ROUTE unroute, STROKE_UNROUTE up, STROKE_UP down, STROKE_DOWN -down-srcip, STROKE_DOWNSRCIP +down-srcip, STROKE_DOWN_SRCIP loglevel, STROKE_LOGLEVEL status, STROKE_STATUS statusall, STROKE_STATUSALL