refactoring in routerManager

This commit is contained in:
Bastian Schroll 2019-10-25 13:27:48 +02:00
parent 869bc141de
commit 341f05d25a
No known key found for this signature in database
GPG key ID: 0AE96912A20E9F5F
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ class RouterManager:
self._showRouterRoute()
return True
def runRouter(self, routerRunList, bwPacket):
def runRouters(self, routerRunList, bwPacket):
"""!Run given Routers
@param routerRunList: string or list of router names in string form

View file

@ -99,7 +99,7 @@ try:
bwPacket.set("clientIP", data[0])
misc.addServerDataToPacket(bwPacket, bwConfig)
bwRoutMan.runRouter(bwConfig.get("alarmRouter"), bwPacket)
bwRoutMan.runRouters(bwConfig.get("alarmRouter"), bwPacket)
incomingQueue.task_done()