Project

General

Profile

Bug #4936 ยป SAT-IP-Print-UDP-RTP-ports-in-connection-status-fix-UI.diff

Mono Polimorph, 2018-02-13 09:42

View differences:

src/webui/static/app/status.js
658 658
                renderer: function(v) {
659 659
                    if (!v) return '';
660 660
                    var o = '';
661
                    if ('tcp' in v)
662
                        o += _("TCP") + v.tcp.join(',');
661
                    if ('tcp' in v) {
662
                        if (o) o += ';';
663
                        o += _("TCP:") + v.tcp.join(',');
664
                    }
663 665
                    if ('udp' in v) {
664 666
                        if (o) o += ';';
665
                        o += _("UDP") + v.udp.join(',');
667
                        o += _("UDP:") + v.udp.join(',');
666 668
                    }
667 669
                    return o;
668 670
                }
    (1-1/1)