Skip to content

Commit

Permalink
fallback to rcsite if netsite is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
marian-babik authored Sep 1, 2023
1 parent d3c82e9 commit 4bc9f5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions siteMapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ def reload():
(ip4, ip6) = get_ip(p.hostname)
if ip4:
p.netsite = get_netsite(ip4)
if not p.netsite:
p.netsite = p.rcsite
usage = val.get('usage', {})
if usage:
for exp in usage:
Expand Down

0 comments on commit 4bc9f5c

Please sign in to comment.