Skip to content

Commit

Permalink
Merge pull request #1202 from v-kamerdinerov/loopback_ips_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Mar 16, 2024
2 parents 3f18086 + 0f7bb52 commit 51af581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exabgp/application/healthcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def loopback_ips(label, label_only):
continue
if lmo.groupdict().get("label", "").startswith(label):
addresses.append(ip)
elif not label_only:
elif not label_only or label is None:
addresses.append(ip)

logger.debug("Loopback addresses: %s", addresses)
Expand Down

0 comments on commit 51af581

Please sign in to comment.