Correct problem with t_router calls
This commit is contained in:
parent
4a29aa4bec
commit
1b008f3ae1
|
@ -74,8 +74,8 @@ class RouterInstance():
|
|||
if self.network_state == 'primary':
|
||||
self.set_primary()
|
||||
for router in t_router:
|
||||
if router.getname() != self.name:
|
||||
router.set_secondary()
|
||||
if t_router[router].getname() != self.name:
|
||||
t_router[router].set_secondary()
|
||||
|
||||
|
||||
# Get value functions
|
||||
|
|
Loading…
Reference in New Issue