1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #1471: Correct bulk selection of IP addresses within a prefix assigned to a VRF

This commit is contained in:
Jeremy Stretch
2017-11-10 09:34:30 -05:00
parent a1b1e261de
commit e1d655cb23

View File

@ -550,7 +550,7 @@ class PrefixIPAddressesView(View):
'prefix': prefix,
'ip_table': ip_table,
'permissions': permissions,
'bulk_querystring': 'vrf_id={}&parent={}'.format(prefix.vrf or '0', prefix.prefix),
'bulk_querystring': 'vrf_id={}&parent={}'.format(prefix.vrf.pk if prefix.vrf else '0', prefix.prefix),
})