mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
sharpened condition guarding reg ex loop
This commit is contained in:
parent
fed02348aa
commit
30e2594de9
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user