From 73891479ae2b8e1c75d389fc6634b43abfa06556 Mon Sep 17 00:00:00 2001 From: Austin de Coup-Crank Date: Mon, 15 May 2023 15:00:41 -0500 Subject: [PATCH] linting error --- netbox/ipam/forms/model_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/ipam/forms/model_forms.py b/netbox/ipam/forms/model_forms.py index 0a851345b..aaa7abba8 100644 --- a/netbox/ipam/forms/model_forms.py +++ b/netbox/ipam/forms/model_forms.py @@ -350,7 +350,7 @@ class IPAddressForm(TenancyForm, NetBoxModelForm): self.add_error( 'primary_for_parent', "Only IP addresses assigned to an interface can be designated as primary IPs." ) - + # Do not allow assigning a network ID or broadcast address to an interface. if interface: if address := self.cleaned_data.get('address'):