fixed down keyword

This commit is contained in:
Martin Willi
2006-06-13 10:11:45 +00:00
parent fa32cd3c47
commit b7e3329f17
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -3,6 +3,7 @@ ipsec_PROGRAMS = stroke
stroke_SOURCES = stroke.c stroke.h stroke_keywords.c stroke_keywords.h stroke_SOURCES = stroke.c stroke.h stroke_keywords.c stroke_keywords.h
INCLUDES = -I$(top_srcdir)/src/libstrongswan INCLUDES = -I$(top_srcdir)/src/libstrongswan
EXTRA_DIST = stroke_keywords.txt EXTRA_DIST = stroke_keywords.txt
MAINTAINERCLEANFILES = stroke_keywords.c
stroke_keywords.c: stroke_keywords.txt stroke_keywords.h stroke_keywords.c: stroke_keywords.txt stroke_keywords.h
$(GPERF) -C -G -t < stroke_keywords.txt > stroke_keywords.c $(GPERF) -C -G -t < stroke_keywords.txt > stroke_keywords.c
+3 -3
View File
@@ -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, 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, 0, 15, 37, 37, 37, 5, 37, 37, 10, 37,
37, 0, 0, 37, 37, 37, 0, 37, 37, 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, 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}, {"up", STROKE_UP},
{"add", STROKE_ADD}, {"add", STROKE_ADD},
{"dowm", STROKE_DOWN}, {"down", STROKE_DOWN},
{"route", STROKE_ROUTE}, {"route", STROKE_ROUTE},
{"status", STROKE_STATUS}, {"status", STROKE_STATUS},
{"logtype", STROKE_LOGTYPE}, {"logtype", STROKE_LOGTYPE},
+1 -1
View File
@@ -31,7 +31,7 @@ del, STROKE_DEL
delete, STROKE_DELETE delete, STROKE_DELETE
route, STROKE_ROUTE route, STROKE_ROUTE
up, STROKE_UP up, STROKE_UP
dowm, STROKE_DOWN down, STROKE_DOWN
logtype, STROKE_LOGTYPE logtype, STROKE_LOGTYPE
logleve, STROKE_LOGLEVEL logleve, STROKE_LOGLEVEL
status, STROKE_STATUS status, STROKE_STATUS