IGMPv3/MLDv2 Query widget now displays the Group Address field
Fixes issue 107
This commit is contained in:
parent
1ea635bcfb
commit
048777c064
@ -737,8 +737,8 @@ int GmpProtocol::protocolFrameSize(int streamIndex) const
|
|||||||
|
|
||||||
bool GmpProtocol::isProtocolFrameValueVariable() const
|
bool GmpProtocol::isProtocolFrameValueVariable() const
|
||||||
{
|
{
|
||||||
// No fields vary for Ssm Query and Report
|
// No fields vary for Ssm Report
|
||||||
if (isSsmReport() || isSsmQuery())
|
if (isSsmReport())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// For all other msg types, check the group mode
|
// For all other msg types, check the group mode
|
||||||
@ -753,8 +753,8 @@ int GmpProtocol::protocolFrameVariableCount() const
|
|||||||
{
|
{
|
||||||
int count = 1;
|
int count = 1;
|
||||||
|
|
||||||
// No fields vary for Ssm Query and Report
|
// No fields vary for Ssm Report
|
||||||
if (isSsmReport() || isSsmQuery())
|
if (isSsmReport())
|
||||||
return count;
|
return count;
|
||||||
|
|
||||||
// For all other msg types, check the group mode
|
// For all other msg types, check the group mode
|
||||||
|
@ -92,7 +92,7 @@ void IgmpConfigForm::on_msgTypeCombo_currentIndexChanged(int /*index*/)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case kIgmpV3Query:
|
case kIgmpV3Query:
|
||||||
asmGroup->hide();
|
asmGroup->show();
|
||||||
ssmWidget->setCurrentIndex(kSsmQueryPage);
|
ssmWidget->setCurrentIndex(kSsmQueryPage);
|
||||||
ssmWidget->show();
|
ssmWidget->show();
|
||||||
break;
|
break;
|
||||||
|
@ -90,7 +90,7 @@ void MldConfigForm::on_msgTypeCombo_currentIndexChanged(int /*index*/)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case kMldV2Query:
|
case kMldV2Query:
|
||||||
asmGroup->hide();
|
asmGroup->show();
|
||||||
ssmWidget->setCurrentIndex(kSsmQueryPage);
|
ssmWidget->setCurrentIndex(kSsmQueryPage);
|
||||||
ssmWidget->show();
|
ssmWidget->show();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user