diff options
author | Phil Sutter <phil@nwl.cc> | 2019-07-25 17:19:14 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-29 15:20:55 +0200 |
commit | 06fd5e46d46f7454baa8f9470976002124827e53 (patch) | |
tree | 6254901762b3422a8e7a2972072672c0b8be26e8 /iptables/xtables-config-syntax.l | |
parent | 719940f6f48d98f5b7aebe7562948f2cff6f5cf8 (diff) |
xtables: Drop support for /etc/xtables.conf
As decided upon at NFWS2019, drop support for configurable nftables base
chains to use with iptables-nft.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-config-syntax.l')
-rw-r--r-- | iptables/xtables-config-syntax.l | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/iptables/xtables-config-syntax.l b/iptables/xtables-config-syntax.l deleted file mode 100644 index a895c8bc..00000000 --- a/iptables/xtables-config-syntax.l +++ /dev/null @@ -1,54 +0,0 @@ -%{ -/* - * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This software has been sponsored by Sophos Astaro <http://www.sophos.com> - */ - -#include <string.h> -#include "xtables-config-parser.h" -%} - -%option yylineno -%option noinput -%option nounput - -ws [ \t]+ -comment #.*$ -nl [\n\r] - -is_on [o|O][n|N] -is_off [o|O][f|F][f|F] -integer [\-\+]?[0-9]+ -string [a-zA-Z][a-zA-Z0-9\.\-\_]* - -%% -"family" { return T_FAMILY; } -"table" { return T_TABLE; } -"chain" { return T_CHAIN; } -"hook" { return T_HOOK; } -"prio" { return T_PRIO; } - -{integer} { yylval.val = atoi(yytext); return T_INTEGER; } -{string} { yylval.string = strdup(yytext); return T_STRING; } - -{comment} ; -{ws} ; -{nl} ; - -<<EOF>> { yyterminate(); } - -. { return yytext[0]; } - -%% - -int -yywrap() -{ - return 1; -} |