summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGDR! <gdr@gdr.name>2017-10-20 21:47:11 +0200
committerGDR! <gdr@gdr.name>2017-10-20 21:47:11 +0200
commitd41a65bc350a151075dba23729727d8f44cb76ce (patch)
tree1bae2c0aa22eadcfc9b4e339241b6ed477414905
parente36cd56347fd88d4943faf3edbbdefc72435db23 (diff)
Rename rtmp to more readable temp_rule
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 3dfc98f..4d211d7 100644
--- a/main.c
+++ b/main.c
@@ -413,11 +413,11 @@ int handle_request_tunnel_frame(protocol_frame *rcvd_frame)
413 // check rules 413 // check rules
414 if (rules_policy == VALIDATE && nrules > 0 ) { 414 if (rules_policy == VALIDATE && nrules > 0 ) {
415 415
416 rule rtmp, *found = NULL; 416 rule temp_rule, *found = NULL;
417 rtmp.host = hostname; 417 temp_rule.host = hostname;
418 rtmp.port = port; 418 temp_rule.port = port;
419 419
420 LL_SEARCH(rules, found, &rtmp, rule_cmp); 420 LL_SEARCH(rules, found, &temp_rule, rule_cmp);
421 if(!found) 421 if(!found)
422 { 422 {
423 log_printf(L_WARNING, "Rejected, request not in rules\n"); 423 log_printf(L_WARNING, "Rejected, request not in rules\n");