diff --git a/api/views.py b/api/views.py index 4273183..4074532 100644 --- a/api/views.py +++ b/api/views.py @@ -135,6 +135,7 @@ def peer_info(request): 'public_key': str(peer.public_key), 'uuid': str(peer.uuid), 'private_key_exists': bool(peer.private_key), + 'is_route_policy_restricted': peer.is_route_policy_restricted, } return JsonResponse(data)