diff --git a/src/sn_utils.c b/src/sn_utils.c index 8eb354c..43b88e0 100644 --- a/src/sn_utils.c +++ b/src/sn_utils.c @@ -1590,8 +1590,8 @@ static int process_udp (n2n_sn_t * sss, allowed_match = re_matchp(re->rule, (const char *)cmn.community, &match_length); if((allowed_match != -1) - && (match_length == strlen((const char *)cmn.community)) // --- only full match… - && (allowed_match == 0)) { // --- only full matches allowed (re… + && (match_length == strlen((const char *)cmn.community)) // --- only full matches allowed (remove, if also partial matches wanted) + && (allowed_match == 0)) { // --- only full matches allowed (remove, if also partial matches wanted) match = 1; break; }