Skip to content

Commit

Permalink
do not check entries with no cathedral flock
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvink committed Aug 7, 2024
1 parent b225304 commit dfb7733
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hymn/src/hymn.c
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,8 @@ hymn_tunnel_list(struct tunnels *list)
TAILQ_INSERT_HEAD(list, tun, list);
} else {
TAILQ_FOREACH(entry, list, list) {
if (entry->config.cathedral_flock == 0)
continue;
if ((entry->config.cathedral_flock >
tun->config.cathedral_flock) ||
entry->config.src > src) {
Expand Down

0 comments on commit dfb7733

Please sign in to comment.