refactor methods

This commit is contained in:
stubbfel
2015-08-19 00:57:35 +02:00
parent 48991fcdf7
commit f8c35c865c
6 changed files with 177 additions and 26 deletions

View File

@@ -39,6 +39,7 @@ bool arpm2(const PDU &pdu)
{
// Retrieve the ARP layer
const ARP &arp = pdu.rfind_pdu<ARP>();
std::cout << arp.opcode()<< std::endl;
if (arp.opcode() == ARP::REPLY)
{