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 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

View File

@ -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;

View File

@ -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;