work on basic routing

This commit is contained in:
Cort Buffington 2016-08-01 22:34:30 -05:00
parent 6f349f5da1
commit 8faeb39095
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class routerCLIENT(HBCLIENT):
if _target in RULES['MASTERS']:
_tmp_data = _data
#_tmp_data = _tmp_data.replace(_radio_id, CONFIG['MASTERS'][_target]['RADIO_ID'])
for _client in CONFIG['MASTERS'][_target]._clients:
for _client in CONFIG['MASTERS'][_target]['CLIENTS']:
if _client != _radio_id:
masters[_target].send_packet(_client, _tmp_data)
logger.debug('(%s) Packet bridged to client: %s', self._client, _target)