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

Fixes #8003: Fix cable tracing across bridged interfaces with no cable

This commit is contained in:
jeremystretch
2021-12-08 11:35:50 -05:00
parent 7be6206d9d
commit dda11ec69e
2 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,7 @@ class PathEndpoint(models.Model):
while origin is not None:
if origin._path is None:
return path
break
path.extend([origin, *origin._path.get_path()])
while (len(path) + 1) % 3: