Display server ip address in flow detail tab
This commit is contained in:
parent
0650f132e9
commit
71ccbd5607
Binary file not shown.
|
@ -155,6 +155,22 @@ exports[`Details Component should render correctly 1`] = `
|
|||
TLSv1.2
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Resolved address:
|
||||
</td>
|
||||
<td>
|
||||
192.168.0.1:22
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Source address:
|
||||
</td>
|
||||
<td>
|
||||
address:22
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div />
|
||||
|
|
|
@ -52,6 +52,18 @@ export function ConnectionInfo({ conn }) {
|
|||
<td>{conn.alpn_proto_negotiated}</td>
|
||||
</tr>
|
||||
)}
|
||||
{conn.ip_address && (
|
||||
<tr key="ip_address">
|
||||
<td>Resolved address:</td>
|
||||
<td>{conn.ip_address.join(':')}</td>
|
||||
</tr>
|
||||
)}
|
||||
{conn.source_address && (
|
||||
<tr key="source_address">
|
||||
<td>Source address:</td>
|
||||
<td>{conn.source_address.join(':')}</td>
|
||||
</tr>
|
||||
)}
|
||||
</tbody>
|
||||
</table>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue