summaryrefslogtreecommitdiff
path: root/src/read_config_lex.l
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-02-21 14:18:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-02-21 14:18:56 +0100
commitae94864dee8596fcaf19ffe5670d192a0efd5fd6 (patch)
tree11f0cd3d4f95d14bf489448b4735d315f8bf5280 /src/read_config_lex.l
parent158fdcef1536da826bcc68294b17f6be354dd913 (diff)
downloadconntrack-tools-ae94864dee8596fcaf19ffe5670d192a0efd5fd6.tar.gz
conntrack-tools-ae94864dee8596fcaf19ffe5670d192a0efd5fd6.zip
config: add NetlinkBufferSize and NetlinkBufferSizeMaxGrowth
This patch adds two alias that removes an inconsistency in the configuration file names. Now, the clauses that refers to Netlink starts by the prefix "Netlink". Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/read_config_lex.l')
-rw-r--r--src/read_config_lex.l8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/read_config_lex.l b/src/read_config_lex.l
index a1830fd..d75e299 100644
--- a/src/read_config_lex.l
+++ b/src/read_config_lex.l
@@ -82,9 +82,11 @@ notrack [N|n][O|o][T|t][R|r][A|a][C|c][K|k]
"Sync" { return T_SYNC; }
"Stats" { return T_STATS; }
"RelaxTransitions" { return T_RELAX_TRANSITIONS; }
-"SocketBufferSize" { return T_BUFFER_SIZE; }
-"SocketBufferSizeMaxGrown" { return T_BUFFER_SIZE_MAX_GROWN; }
-"SocketBufferSizeMaxGrowth" { return T_BUFFER_SIZE_MAX_GROWN; }
+"SocketBufferSize" { return T_BUFFER_SIZE; /* alias */ }
+"SocketBufferSizeMaxGrown" { return T_BUFFER_SIZE_MAX_GROWN; /* alias */ }
+"SocketBufferSizeMaxGrowth" { return T_BUFFER_SIZE_MAX_GROWN; /* alias */ }
+"NetlinkBufferSize" { return T_BUFFER_SIZE; }
+"NetlinkBufferSizeMaxGrowth" { return T_BUFFER_SIZE_MAX_GROWN; }
"Mode" { return T_SYNC_MODE; }
"ListenTo" { return T_LISTEN_TO; }
"Family" { return T_FAMILY; }