diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-25 15:06:39 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-25 15:06:39 +0200 |
commit | 44742f8aadb7a8a969f11d9b1d50c8be2573a576 (patch) | |
tree | 90c1b692df9a41627ac8413c68a569b29ae9008b /src/config.l | |
parent | 59a5b833216b62f28c816df7c9129bf0954993e0 (diff) | |
download | fastd-44742f8aadb7a8a969f11d9b1d50c8be2573a576.tar fastd-44742f8aadb7a8a969f11d9b1d50c8be2573a576.zip |
Add include command
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l index 54d3447..231f228 100644 --- a/src/config.l +++ b/src/config.l @@ -23,6 +23,7 @@ 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; } +include { yylval->str = yytext; return TOK_INCLUDE; } [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} { if (!inet_pton(AF_INET, yytext, &yylval->addr)) { |