Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amdfxlucas committed Mar 16, 2024
1 parent 036f06c commit b52d25d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions seedemu/layers/Ibgp.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def __dfs(self, start: Node, visited: List[Node], netname: str = 'self'):
neighs: List[Node] = net.getAssociations()

for neigh in neighs:

if neigh.getRole() != NodeRole.Router or neigh.getRole() != NodeRole.BorderRouter:
role = neigh.getRole()
if role != NodeRole.Router and role != NodeRole.BorderRouter:
continue

self.__dfs(neigh, visited, net.getName())
Expand Down

0 comments on commit b52d25d

Please sign in to comment.