Skip to content

IpcsClassifierRecord constructor confusing initialization parameters

Note: This issue was moved from ns-3-dev Issue #816

The default constructor of the class IpcsClassifierRecord initializes the same variable twice with different values. Below is a snippet of the code:

IpcsClassifierRecord::IpcsClassifierRecord()
{
    m_priority = 255;
    m_priority = 0;     // overwrites first value
    ...
}

What value should be preserved?