This commit is contained in:
Joseph Kennedy 2017-08-26 23:32:33 -04:00
parent 6c86718434
commit 8271c9383c

View File

@ -1607,7 +1607,7 @@ class InterfaceCSVForm(forms.ModelForm):
device=device_id, form_factor=IFACE_FF_LAG).get(
lag=lag_name.id
)
if not lag:
if not self.lag:
return None
return lag