From 0024a3c46c5a75a7e99c1a13c889a29e997086c6 Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Thu, 4 Sep 2025 22:15:08 +0200 Subject: [PATCH] fix(vpn): Update `to_field_name` in bulk import form Changes the value of `to_field_name` from `name` to `address` in the VPN bulk import form. This ensures proper mapping and validation for IP address selection during the bulk import process. Closes #20238 --- netbox/vpn/forms/bulk_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/vpn/forms/bulk_import.py b/netbox/vpn/forms/bulk_import.py index 925558e60..96744887e 100644 --- a/netbox/vpn/forms/bulk_import.py +++ b/netbox/vpn/forms/bulk_import.py @@ -107,7 +107,7 @@ class TunnelTerminationImportForm(NetBoxModelImportForm): label=_('Outside IP'), queryset=IPAddress.objects.all(), required=False, - to_field_name='name' + to_field_name='address' ) class Meta: