mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
refactoring in routerManager
This commit is contained in:
parent
869bc141de
commit
341f05d25a
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue