mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-10 03:13:48 +02:00
Fixes #14706: Relax one-to-one mapping of tunnel termination to IP address
This commit is contained in:
@@ -129,10 +129,10 @@ class TunnelTermination(CustomFieldsMixin, CustomLinksMixin, TagsMixin, ChangeLo
|
||||
ct_field='termination_type',
|
||||
fk_field='termination_id'
|
||||
)
|
||||
outside_ip = models.OneToOneField(
|
||||
outside_ip = models.ForeignKey(
|
||||
to='ipam.IPAddress',
|
||||
on_delete=models.PROTECT,
|
||||
related_name='tunnel_termination',
|
||||
related_name='tunnel_terminations',
|
||||
blank=True,
|
||||
null=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user