diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index 5fad96d0f..22ec2f3a4 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -2495,7 +2495,7 @@ class InterfaceCSVForm(forms.ModelForm): def clean_enabled(self): # Make sure enabled is True when it's not included in the uploaded data - if 'enabled' in self.data: + if 'enabled' not in self.data: return True else: return self.cleaned_data['enabled']