From 1967b4f67cfbb64d12fc4953db35e3d7aa5f773e Mon Sep 17 00:00:00 2001 From: Elise Lennion Date: Wed, 18 Jan 2017 21:06:47 -0200 Subject: src: Honor obligatory stateless printing of flow tables Always print flow statement as stateless expressions, given that this just defines the flow table statement instance that is allocated per entry. Signed-off-by: Elise Lennion --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 6d073d5c..6ba752b1 100644 --- a/src/main.c +++ b/src/main.c @@ -30,12 +30,12 @@ unsigned int max_errors = 10; unsigned int numeric_output; +unsigned int stateless_output; unsigned int ip2name_output; unsigned int handle_output; #ifdef DEBUG unsigned int debug_level; #endif -bool stateless_output; const char *include_paths[INCLUDE_PATHS_MAX] = { DEFAULT_INCLUDE_PATH }; static unsigned int num_include_paths = 1; @@ -291,7 +291,7 @@ int main(int argc, char * const *argv) numeric_output++; break; case OPT_STATELESS: - stateless_output = true; + stateless_output++; break; case OPT_IP2NAME: ip2name_output++; -- cgit v1.2.3