IGMPv3/MLDv2 Query widget now displays the Group Address field

Fixes issue 107
This commit is contained in:
Srivats P. 2014-06-30 20:25:39 +05:30
parent 1ea635bcfb
commit 048777c064
3 changed files with 6 additions and 6 deletions

View File

@ -737,8 +737,8 @@ int GmpProtocol::protocolFrameSize(int streamIndex) const
bool GmpProtocol::isProtocolFrameValueVariable() const
{
// No fields vary for Ssm Query and Report
if (isSsmReport() || isSsmQuery())
// No fields vary for Ssm Report
if (isSsmReport())
return false;
// For all other msg types, check the group mode
@ -753,8 +753,8 @@ int GmpProtocol::protocolFrameVariableCount() const
{
int count = 1;
// No fields vary for Ssm Query and Report
if (isSsmReport() || isSsmQuery())
// No fields vary for Ssm Report
if (isSsmReport())
return count;
// For all other msg types, check the group mode

View File

@ -92,7 +92,7 @@ void IgmpConfigForm::on_msgTypeCombo_currentIndexChanged(int /*index*/)
break;
case kIgmpV3Query:
asmGroup->hide();
asmGroup->show();
ssmWidget->setCurrentIndex(kSsmQueryPage);
ssmWidget->show();
break;

View File

@ -90,7 +90,7 @@ void MldConfigForm::on_msgTypeCombo_currentIndexChanged(int /*index*/)
break;
case kMldV2Query:
asmGroup->hide();
asmGroup->show();
ssmWidget->setCurrentIndex(kSsmQueryPage);
ssmWidget->show();
break;