反向便利port_group 代码
snort
if(port_group->pgHead)
{
port_group->pgTail = port_group->pgHead;
while(port_group->pgTail->rnNext)
{
OptTreeNode *otn = (OptTreeNode *)port_group->pgTail->rnRuleData;
if(otn)
{
LogMessage("%d match SID \n",otn->sigInfo.id);
}
port_group->pgTail = port_group->pgTail->rnNext;
}
}