diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/stroke/Makefile.am | 1 | ||||
-rw-r--r-- | src/stroke/stroke_keywords.c | 6 | ||||
-rw-r--r-- | src/stroke/stroke_keywords.txt | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/stroke/Makefile.am b/src/stroke/Makefile.am index 761c3b861..6ea64753c 100644 --- a/src/stroke/Makefile.am +++ b/src/stroke/Makefile.am @@ -3,6 +3,7 @@ ipsec_PROGRAMS = stroke stroke_SOURCES = stroke.c stroke.h stroke_keywords.c stroke_keywords.h INCLUDES = -I$(top_srcdir)/src/libstrongswan EXTRA_DIST = stroke_keywords.txt +MAINTAINERCLEANFILES = stroke_keywords.c stroke_keywords.c: stroke_keywords.txt stroke_keywords.h $(GPERF) -C -G -t < stroke_keywords.txt > stroke_keywords.c diff --git a/src/stroke/stroke_keywords.c b/src/stroke/stroke_keywords.c index a0a53460f..77c0af939 100644 --- a/src/stroke/stroke_keywords.c +++ b/src/stroke/stroke_keywords.c @@ -87,8 +87,8 @@ hash (str, len) 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 0, 15, 37, 37, 37, 5, 37, 37, 10, 0, - 37, 0, 0, 37, 37, 37, 0, 37, 37, 37, + 0, 15, 37, 37, 37, 5, 37, 37, 10, 37, + 0, 0, 0, 37, 37, 37, 0, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, @@ -124,7 +124,7 @@ static const struct stroke_token wordlist[] = {""}, {""}, {"up", STROKE_UP}, {"add", STROKE_ADD}, - {"dowm", STROKE_DOWN}, + {"down", STROKE_DOWN}, {"route", STROKE_ROUTE}, {"status", STROKE_STATUS}, {"logtype", STROKE_LOGTYPE}, diff --git a/src/stroke/stroke_keywords.txt b/src/stroke/stroke_keywords.txt index aab0e6ad2..4cc461f66 100644 --- a/src/stroke/stroke_keywords.txt +++ b/src/stroke/stroke_keywords.txt @@ -31,7 +31,7 @@ del, STROKE_DEL delete, STROKE_DELETE route, STROKE_ROUTE up, STROKE_UP -dowm, STROKE_DOWN +down, STROKE_DOWN logtype, STROKE_LOGTYPE logleve, STROKE_LOGLEVEL status, STROKE_STATUS |