diff --git a/netbox/templates/wireless/wirelesslink.html b/netbox/templates/wireless/wirelesslink.html
index fe444d093..b31c3132c 100644
--- a/netbox/templates/wireless/wirelesslink.html
+++ b/netbox/templates/wireless/wirelesslink.html
@@ -35,7 +35,7 @@
- {% trans "Length" %} |
+ {% trans "Distance" %} |
{% if object.distance is not None %}
{{ object.distance|floatformat }} {{ object.get_distance_unit_display }}
diff --git a/netbox/wireless/forms/bulk_edit.py b/netbox/wireless/forms/bulk_edit.py
index 5d43de25a..64a9bfa98 100644
--- a/netbox/wireless/forms/bulk_edit.py
+++ b/netbox/wireless/forms/bulk_edit.py
@@ -150,5 +150,5 @@ class WirelessLinkBulkEditForm(NetBoxModelBulkEditForm):
FieldSet('distance', 'distance_unit', name=_('Attributes')),
)
nullable_fields = (
- 'ssid', 'tenant', 'description', 'auth_type', 'auth_cipher', 'auth_psk', 'length', 'comments',
+ 'ssid', 'tenant', 'description', 'auth_type', 'auth_cipher', 'auth_psk', 'distance', 'comments',
)
diff --git a/netbox/wireless/forms/bulk_import.py b/netbox/wireless/forms/bulk_import.py
index 197d258bf..878afd5c8 100644
--- a/netbox/wireless/forms/bulk_import.py
+++ b/netbox/wireless/forms/bulk_import.py
@@ -113,7 +113,7 @@ class WirelessLinkImportForm(NetBoxModelImportForm):
help_text=_('Authentication cipher')
)
distance_unit = CSVChoiceField(
- label=_('Length unit'),
+ label=_('Distance unit'),
choices=WirelessLinkDistanceUnitChoices,
required=False,
help_text=_('Distance unit')
diff --git a/netbox/wireless/forms/filtersets.py b/netbox/wireless/forms/filtersets.py
index b28784805..f87cadfb9 100644
--- a/netbox/wireless/forms/filtersets.py
+++ b/netbox/wireless/forms/filtersets.py
@@ -71,7 +71,7 @@ class WirelessLinkFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
model = WirelessLink
fieldsets = (
FieldSet('q', 'filter_id', 'tag'),
- FieldSet('ssid', 'status', 'length', 'length_unit', name=_('Attributes')),
+ FieldSet('ssid', 'status', 'distance', 'distance_unit', name=_('Attributes')),
FieldSet('tenant_group_id', 'tenant_id', name=_('Tenant')),
FieldSet('auth_type', 'auth_cipher', 'auth_psk', name=_('Authentication')),
)
diff --git a/netbox/wireless/models.py b/netbox/wireless/models.py
index 4ba689bb3..4214ac29d 100644
--- a/netbox/wireless/models.py
+++ b/netbox/wireless/models.py
@@ -174,7 +174,7 @@ class WirelessLink(WirelessAuthenticationBase, PrimaryModel):
choices=WirelessLinkDistanceUnitChoices,
blank=True,
)
- # Stores the normalized length (in meters) for database ordering
+ # Stores the normalized distance (in meters) for database ordering
_abs_distance = models.DecimalField(
max_digits=10,
decimal_places=4,
|