summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 384bde5c..7cf3bb68 100644
--- a/src/main.c
+++ b/src/main.c
@@ -266,7 +266,7 @@ int main(int argc, char * const *argv)
nft_ctx_output_set_debug(nft, debug_mask);
break;
case OPT_HANDLE_OUTPUT:
- nft_ctx_output_set_handle(nft, true);
+ output_flags |= NFT_CTX_OUTPUT_HANDLE;
break;
case OPT_ECHO:
nft_ctx_output_set_echo(nft, true);