From dd9491aa9cf21e5253586affe632806c7e6a566c Mon Sep 17 00:00:00 2001 From: Logan oos Even <46396513+Logan007@users.noreply.github.com> Date: Thu, 21 Jan 2021 18:11:03 +0545 Subject: [PATCH] removed two non-ASCII characters Fixes #598. --- src/sn_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }