Browse Source

removed two non-ASCII characters

Fixes #598.
pull/599/head
Logan oos Even 4 years ago
committed by GitHub
parent
commit
dd9491aa9c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/sn_utils.c

4
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); allowed_match = re_matchp(re->rule, (const char *)cmn.community, &match_length);
if((allowed_match != -1) if((allowed_match != -1)
&& (match_length == strlen((const char *)cmn.community)) // --- only full match && (match_length == strlen((const char *)cmn.community)) // --- only full matches allowed (remove, if also partial matches wanted)
&& (allowed_match == 0)) { // --- only full matches allowed (re && (allowed_match == 0)) { // --- only full matches allowed (remove, if also partial matches wanted)
match = 1; match = 1;
break; break;
} }

Loading…
Cancel
Save