|
@@ -206,7 +206,7 @@ class WirelessLink(WirelessAuthenticationBase, DistanceMixin, PrimaryModel):
|
|
|
})
|
|
})
|
|
|
if self.interface_b.type not in WIRELESS_IFACE_TYPES:
|
|
if self.interface_b.type not in WIRELESS_IFACE_TYPES:
|
|
|
raise ValidationError({
|
|
raise ValidationError({
|
|
|
- 'interface_a': _(
|
|
|
|
|
|
|
+ 'interface_b': _(
|
|
|
"{type} is not a wireless interface."
|
|
"{type} is not a wireless interface."
|
|
|
).format(type=self.interface_b.get_type_display())
|
|
).format(type=self.interface_b.get_type_display())
|
|
|
})
|
|
})
|