summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPietro Bonfa <bonfus@gmail.com>2016-10-07 14:17:09 +0200
committerPietro Bonfa <bonfus@gmail.com>2016-10-07 14:17:09 +0200
commit230e7ae1347fe613d63f3dca136128b29331f80d (patch)
tree646baac00a1202ad88df78db9078461fd6a53cf5 /main.c
parentf440df159dfb24d0e32deb4ecb9a4e69edb25c38 (diff)
fixed bug with filter_policy
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1215ec5..f4ec7f6 100644
--- a/main.c
+++ b/main.c
@@ -444,7 +444,7 @@ int handle_request_tunnel_frame(protocol_frame *rcvd_frame)
444 return -1; 444 return -1;
445 } 445 }
446 446
447 } else { 447 } else if (rules_policy != NONE) {
448 log_printf(L_WARNING, "Filter option active but no allowed ports!\n"); 448 log_printf(L_WARNING, "Filter option active but no allowed ports!\n");
449 log_printf(L_WARNING, "All requests will be dropped.\n"); 449 log_printf(L_WARNING, "All requests will be dropped.\n");
450 return -1; 450 return -1;