From 17cb9aafb420b0716c6fd3a0da1f9c1f654a3953 Mon Sep 17 00:00:00 2001
From: n0mjs710 <n0mjs@me.com>
Date: Wed, 9 Jan 2019 09:03:59 -0600
Subject: [PATCH] Added TX/RX to OpenBridge Listings

---
 templates/hblink_table.html | 2 +-
 web_tables.py               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/hblink_table.html b/templates/hblink_table.html
index 6f947dc..dcce8e3 100755
--- a/templates/hblink_table.html
+++ b/templates/hblink_table.html
@@ -83,7 +83,7 @@
     <tr>
         <td style="font-weight:bold"> {{ _openbridge}} </td>
         <td>{{ _table['OPENBRIDGES'][_openbridge]['NETWORK_ID'] }}<br><div style="font: 8pt arial, sans-serif">{{ _table['OPENBRIDGES'][_openbridge]['TARGET_IP'] }}:{{ _table['OPENBRIDGES'][_openbridge]['TARGET_PORT'] }}</div></td>
-        <td>{% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS']  %}({{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }} >> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }}) {% endfor %}</td>
+        <td>{% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS']  %}({{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }} | {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }} >> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][2] }}) {% endfor %}</td>
 
     </tr>
     {% endfor %}
diff --git a/web_tables.py b/web_tables.py
index 16c556b..ca9a015 100755
--- a/web_tables.py
+++ b/web_tables.py
@@ -380,7 +380,7 @@ def rts_update(p):
 
     if system in CTABLE['OPENBRIDGES']:
         if action == 'START':
-            CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (alias_call(sourceSub, subscriber_ids), destination)
+            CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (trx, alias_call(sourceSub, subscriber_ids), destination)
         if action == 'END':
             if streamId in CTABLE['OPENBRIDGES'][system]['STREAMS']:
                 del CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId]