mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
wireguard: Show status of default route in server information page
Tests: - Create a server connection with default route setting 'on'. See that the server status page reflects the value correctly. Repeat for 'off'. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
7e7e7a6ccf
commit
ad9ebe2301
@ -40,6 +40,17 @@
|
||||
<th>{% trans "IP address of this machine:" %}</th>
|
||||
<td>{{ server.ip_address }}</td>
|
||||
</tr>
|
||||
<tr class="server-default-route">
|
||||
<th>
|
||||
{% trans "All outgoing traffic is sent using this connection:" %}
|
||||
</th>
|
||||
<td>{% if server.default_route %}
|
||||
{% trans "Yes" %}
|
||||
{% else %}
|
||||
{% trans "No" %}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user