diff options
author | Nikhil Soni <krsoninikhil@gmail.com> | 2017-03-03 12:58:44 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-03 12:58:44 +0530 |
commit | 0081d9b82807b178bd6d00ca250d38aeeeed2d33 (patch) | |
tree | 8d244a7b9ade13f0e1836f8eb9fbc534a1cc662d /mitmproxy/tools/web/static/app.js | |
parent | 3da8532bed3305b01e3f3ab556f9dbc652177c6b (diff) | |
parent | bae4cdf8d5cc434938c74a041f762075513dd8e4 (diff) | |
download | mitmproxy-0081d9b82807b178bd6d00ca250d38aeeeed2d33.tar.gz mitmproxy-0081d9b82807b178bd6d00ca250d38aeeeed2d33.tar.bz2 mitmproxy-0081d9b82807b178bd6d00ca250d38aeeeed2d33.zip |
Merge branch 'master' into on-issues
Diffstat (limited to 'mitmproxy/tools/web/static/app.js')
-rw-r--r-- | mitmproxy/tools/web/static/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mitmproxy/tools/web/static/app.js b/mitmproxy/tools/web/static/app.js index 480d9c71..c21a478b 100644 --- a/mitmproxy/tools/web/static/app.js +++ b/mitmproxy/tools/web/static/app.js @@ -2046,7 +2046,7 @@ function ConnectionInfo(_ref2) { _react2.default.createElement( 'td', null, - conn.address.address.join(':') + conn.address.join(':') ) ), conn.sni && _react2.default.createElement( @@ -8449,7 +8449,7 @@ module.exports = function () { function destination(regex) { regex = new RegExp(regex, "i"); function destinationFilter(flow) { - return !!flow.server_conn.address && regex.test(flow.server_conn.address.address[0] + ":" + flow.server_conn.address.address[1]); + return !!flow.server_conn.address && regex.test(flow.server_conn.address[0] + ":" + flow.server_conn.address[1]); } destinationFilter.desc = "destination address matches " + regex; return destinationFilter; @@ -8509,7 +8509,7 @@ module.exports = function () { function source(regex) { regex = new RegExp(regex, "i"); function sourceFilter(flow) { - return !!flow.client_conn.address && regex.test(flow.client_conn.address.address[0] + ":" + flow.client_conn.address.address[1]); + return !!flow.client_conn.address && regex.test(flow.client_conn.address[0] + ":" + flow.client_conn.address[1]); } sourceFilter.desc = "source address matches " + regex; return sourceFilter; |