Correct problem with t_router calls

This commit is contained in:
Joshua Boniface 2018-09-24 01:57:19 -04:00
parent 4a29aa4bec
commit 1b008f3ae1
1 changed files with 2 additions and 2 deletions

View File

@ -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