mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
wireguard: filter .local addresses from showClient view
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
df7793916c
commit
59329169e4
@ -102,6 +102,7 @@ class ShowClientView(SuccessMessageMixin, TemplateView):
|
|||||||
context['endpoints'] = [
|
context['endpoints'] = [
|
||||||
domain + ':' + str(server_info['listen_port'])
|
domain + ':' + str(server_info['listen_port'])
|
||||||
for domain in domains
|
for domain in domains
|
||||||
|
if not domain.endswith('.local')
|
||||||
]
|
]
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user