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

Fixes #1420: Exclude virtual interfaces from device LLDP neighbors view

This commit is contained in:
Jeremy Stretch
2017-08-15 11:07:26 -04:00
parent 117f33afc5
commit 04c300b8e2

View File

@ -936,7 +936,7 @@ class DeviceLLDPNeighborsView(PermissionRequiredMixin, View):
device = get_object_or_404(Device, pk=pk)
interfaces = Interface.objects.order_naturally(
device.device_type.interface_ordering
).filter(
).connectable().filter(
device=device
).select_related(
'connected_as_a', 'connected_as_b'