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':
|
if self.network_state == 'primary':
|
||||||
self.set_primary()
|
self.set_primary()
|
||||||
for router in t_router:
|
for router in t_router:
|
||||||
if router.getname() != self.name:
|
if t_router[router].getname() != self.name:
|
||||||
router.set_secondary()
|
t_router[router].set_secondary()
|
||||||
|
|
||||||
|
|
||||||
# Get value functions
|
# Get value functions
|
||||||
|
|
Loading…
Reference in New Issue