(Boeing r1761)

have broker forward conf reset messages to "all"

fixes issue with restarting distributed EMANE session
This commit is contained in:
ahrenholz 2013-08-30 18:42:42 +00:00
parent aad3f07560
commit 1a659fe9eb

View file

@ -529,7 +529,7 @@ class CoreBroker(ConfigurableManager):
# broadcast location and services configuration everywhere # broadcast location and services configuration everywhere
confobj = msg.gettlv(coreapi.CORE_TLV_CONF_OBJ) confobj = msg.gettlv(coreapi.CORE_TLV_CONF_OBJ)
if confobj == "location" or confobj == "services" or \ if confobj == "location" or confobj == "services" or \
confobj == "session": confobj == "session" or confobj == "all":
serverlist = self.getserverlist() serverlist = self.getserverlist()
elif msg.msgtype == coreapi.CORE_API_FILE_MSG: elif msg.msgtype == coreapi.CORE_API_FILE_MSG:
# broadcast hook scripts and custom service files everywhere # broadcast hook scripts and custom service files everywhere