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

View File

@ -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

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,
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},

View File

@ -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