Skip to content

Commit 399d51b

Browse files
pheusjeremystretch
authored andcommitted
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
1 parent 6135fb8 commit 399d51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/vpn/forms/bulk_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class TunnelTerminationImportForm(NetBoxModelImportForm):
107107
label=_('Outside IP'),
108108
queryset=IPAddress.objects.all(),
109109
required=False,
110-
to_field_name='name'
110+
to_field_name='address'
111111
)
112112

113113
class Meta:

0 commit comments

Comments
 (0)