Fix typo in validation error message

This commit is contained in:
Jeremy Stretch 2020-04-23 10:12:56 -04:00
parent 970333f5f7
commit a998582051

View File

@ -1529,7 +1529,7 @@ class Device(ChangeLoggedModel, ConfigContextModel, CustomFieldModel):
if self.primary_ip6: if self.primary_ip6:
if self.primary_ip6.family != 6: if self.primary_ip6.family != 6:
raise ValidationError({ raise ValidationError({
'primary_ip6': f"{self.primary_ip4} is not an IPv6 address." 'primary_ip6': f"{self.primary_ip6} is not an IPv6 address."
}) })
if self.primary_ip6.interface in vc_interfaces: if self.primary_ip6.interface in vc_interfaces:
pass pass