summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l
index 5e5e666..1173d44 100644
--- a/src/config.l
+++ b/src/config.l
@@ -20,6 +20,8 @@ mode { yylval->str = yytext; return TOK_MODE; }
protocol { yylval->str = yytext; return TOK_PROTOCOL; }
peer { yylval->str = yytext; return TOK_PEER; }
address { yylval->str = yytext; return TOK_ADDRESS; }
+secret { yylval->str = yytext; return TOK_SECRET; }
+key { yylval->str = yytext; return TOK_KEY; }
[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} {
if (!inet_pton(AF_INET, yytext, &yylval->addr)) {