diff options
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l index 808f96e..eeb20ae 100644 --- a/src/config.l +++ b/src/config.l @@ -55,6 +55,8 @@ as { return TOK_AS; } any { return TOK_ANY; } tap { return TOK_TAP; } tun { return TOK_TUN; } +on { return TOK_ON; } +up { return TOK_UP; } [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} { if (!inet_pton(AF_INET, yytext, &yylval->addr)) { |