Compare Revisions

The credentials to download the source code are:
 Username: svnusers
 Password: svnusers

Ignore whitespace Rev 3322 → Rev 3323

/branches/STF525/ccsrc/Protocols/Pcap/pcap_cygwin_layer.cc
101,19 → 101,20
*_bin2hex(buf, sizeof(buf), mac, 6) = 0;
mac_src = buf;
loggers::get_instance().user("pcap_layer::pcap_layer: local MAC is %s", mac_src.c_str());
_params.[params::mac_src] = mac_src;
}
std::string mac_bc;
it = _params.find(params::mac_bc);
if (it != _params.end() && !it->second.empty())
mac_bc = it->second;
mac_bc = it->second;
else
mac_bc = "ffffffffffff";
mac_bc = "ffffffffffff";
 
if(mac_bc == mac_src || mac_src.empty())
filter = "ether dst " + mac_bc;
else
filter = "( ether dst " + mac_bc + " or ether dst " + mac_src + " )";
filter = "( ether dst " + mac_bc + " or ether dst " + mac_src + " )";
 
if(! mac_src.empty())
// Reject ITS messages sent by this component
/branches/STF525/ccsrc/Protocols/Pcap/pcap_linux_layer.cc
97,6 → 97,7
*_bin2hex(buf, sizeof(buf), ifr.ifr_hwaddr.sa_data, 6) = 0;
mac_src = buf;
loggers::get_instance().user("pcap_layer::pcap_layer: local MAC is %s", mac_src.c_str());
_params.[params::mac_src] = mac_src;
}
}