forked from osmocom/wireshark
More SCTP Analysis GUI layout fixes.
This commit is contained in:
parent
317d264664
commit
c0aa2a0841
|
@ -1,4 +1,6 @@
|
||||||
/* sctp_assoc_analyse_dialog.cpp
|
/* sctp_assoc_analyse_dialog.cpp
|
||||||
|
*
|
||||||
|
* Copyright 2021 Thomas Dreibholz <dreibh [AT] iem.uni-due.de>
|
||||||
*
|
*
|
||||||
* Wireshark - Network traffic analyzer
|
* Wireshark - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@wireshark.org>
|
* By Gerald Combs <gerald@wireshark.org>
|
||||||
|
@ -112,11 +114,11 @@ void SCTPAssocAnalyseDialog::fillTabs(const sctp_assoc_info_t* selected_assoc)
|
||||||
/* Tab Endpoint 1 */
|
/* Tab Endpoint 1 */
|
||||||
|
|
||||||
if (selected_assoc->init)
|
if (selected_assoc->init)
|
||||||
ui->labelEP1->setText(QString(tr("Complete list of IP-Addresses as provided in the INIT-Chunk")));
|
ui->labelEP1->setText(QString(tr("Complete List of IP addresses from INIT Chunk:")));
|
||||||
else if ((selected_assoc->initack) && (selected_assoc->initack_dir == 1))
|
else if ((selected_assoc->initack) && (selected_assoc->initack_dir == 1))
|
||||||
ui->labelEP1->setText(QString(tr("Complete list of IP-Addresses as provided in the INITACK-Chunk")));
|
ui->labelEP1->setText(QString(tr("Complete List of IP addresses from INIT_ACK Chunk:")));
|
||||||
else
|
else
|
||||||
ui->labelEP1->setText(QString(tr("List of used IP-Addresses")));
|
ui->labelEP1->setText(QString(tr("List of Used IP Addresses")));
|
||||||
|
|
||||||
if (selected_assoc->addr1 != Q_NULLPTR) {
|
if (selected_assoc->addr1 != Q_NULLPTR) {
|
||||||
GList *list;
|
GList *list;
|
||||||
|
@ -166,9 +168,9 @@ void SCTPAssocAnalyseDialog::fillTabs(const sctp_assoc_info_t* selected_assoc)
|
||||||
/* Tab Endpoint 2 */
|
/* Tab Endpoint 2 */
|
||||||
|
|
||||||
if ((selected_assoc->initack) && (selected_assoc->initack_dir == 2))
|
if ((selected_assoc->initack) && (selected_assoc->initack_dir == 2))
|
||||||
ui->labelEP2->setText(QString(tr("Complete list of IP-Addresses as provided in the INITACK-Chunk")));
|
ui->labelEP2->setText(QString(tr("Complete List of IP addresses from INIT_ACK Chunk:")));
|
||||||
else
|
else
|
||||||
ui->labelEP2->setText(QString(tr("List of used IP-Addresses")));
|
ui->labelEP2->setText(QString(tr("List of Used IP Addresses")));
|
||||||
|
|
||||||
if (selected_assoc->addr2 != Q_NULLPTR) {
|
if (selected_assoc->addr2 != Q_NULLPTR) {
|
||||||
GList *list;
|
GList *list;
|
||||||
|
@ -235,8 +237,6 @@ void SCTPAssocAnalyseDialog::openGraphDialog(int direction)
|
||||||
void SCTPAssocAnalyseDialog::on_GraphTSN_2_clicked()
|
void SCTPAssocAnalyseDialog::on_GraphTSN_2_clicked()
|
||||||
{
|
{
|
||||||
openGraphDialog(2);
|
openGraphDialog(2);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SCTPAssocAnalyseDialog::on_GraphTSN_1_clicked()
|
void SCTPAssocAnalyseDialog::on_GraphTSN_1_clicked()
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<string>TabWidget</string>
|
<string>TabWidget</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>1</number>
|
<number>2</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="Statistics">
|
<widget class="QWidget" name="Statistics">
|
||||||
<property name="focusPolicy">
|
<property name="focusPolicy">
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<y>540</y>
|
<y>540</y>
|
||||||
<width>791</width>
|
<width>791</width>
|
||||||
<height>51</height>
|
<height>55</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
@ -183,7 +183,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Complete list of IP Addresses as provided in the INIT Chunk:</string>
|
<string>Complete List of IP addresses from INIT Chunk:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="gridLayoutWidget">
|
<widget class="QWidget" name="gridLayoutWidget">
|
||||||
|
@ -452,7 +452,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Complete list of IP Addresses as provided in the INIT_ACK Chunk:</string>
|
<string>Complete List of IP addresses from INIT_ACK Chunk:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QListWidget" name="listWidgetEP2">
|
<widget class="QListWidget" name="listWidgetEP2">
|
||||||
|
|
Loading…
Reference in New Issue