diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-07-01 13:47:26 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-07-01 13:47:26 +0000 |
commit | 556e426fd863f2fa389f1e4a4da0989e820545f6 (patch) | |
tree | d5e0b88b10e2094483dac24d8efc1e42ed289c2f /src | |
parent | 131064995a5093b0cfe47636295b489f25329c8b (diff) | |
download | strongswan-556e426fd863f2fa389f1e4a4da0989e820545f6.tar.bz2 strongswan-556e426fd863f2fa389f1e4a4da0989e820545f6.tar.xz |
renamed STROKE_DOWNSRCIP to STROKE_DOWN_SRCIP
Diffstat (limited to 'src')
-rw-r--r-- | src/stroke/stroke.c | 4 | ||||
-rw-r--r-- | src/stroke/stroke_keywords.h | 2 | ||||
-rw-r--r-- | 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 |