1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #6894: Fix available IP generation for prefix assigned to a VRF

This commit is contained in:
jeremystretch
2021-08-05 13:23:14 -04:00
parent 79f726e6cd
commit 42b961229f
4 changed files with 20 additions and 14 deletions

View File

@ -176,6 +176,7 @@ class AvailableIPsMixin:
serializer = serializers.AvailableIPSerializer(ip_list, many=True, context={
'request': request,
'parent': parent,
'vrf': parent.vrf,
})
return Response(serializer.data)