mirror of
https://github.com/ntop/n2n.git
synced 2024-04-21 16:31:34 +00:00
sharpened condition guarding reg ex loop
This commit is contained in:
+1
-1
@@ -816,7 +816,7 @@ static int process_udp(n2n_sn_t * sss,
|
||||
existance (better from the security standpoint)
|
||||
*/
|
||||
|
||||
if (!comm) {
|
||||
if (!comm && sss->lock_communities) {
|
||||
HASH_ITER(hh, sss->rules, re, tmp_re) {
|
||||
allowed_match = re_matchp(re->rule, cmn.community, &match_length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user