mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-21 21:02:23 -06: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