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
|
||||
{
|
||||
// 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
|
||||
|
@ -92,7 +92,7 @@ void IgmpConfigForm::on_msgTypeCombo_currentIndexChanged(int /*index*/)
|
||||
break;
|
||||
|
||||
case kIgmpV3Query:
|
||||
asmGroup->hide();
|
||||
asmGroup->show();
|
||||
ssmWidget->setCurrentIndex(kSsmQueryPage);
|
||||
ssmWidget->show();
|
||||
break;
|
||||
|
@ -90,7 +90,7 @@ void MldConfigForm::on_msgTypeCombo_currentIndexChanged(int /*index*/)
|
||||
break;
|
||||
|
||||
case kMldV2Query:
|
||||
asmGroup->hide();
|
||||
asmGroup->show();
|
||||
ssmWidget->setCurrentIndex(kSsmQueryPage);
|
||||
ssmWidget->show();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user