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:
@@ -331,7 +331,7 @@ class AvailableIPSerializer(serializers.Serializer):
|
||||
return OrderedDict([
|
||||
('family', self.context['parent'].family),
|
||||
('address', f"{instance}/{self.context['parent'].mask_length}"),
|
||||
('vrf', self.context['parent'].vrf),
|
||||
('vrf', vrf),
|
||||
])
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user