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

@@ -94,4 +94,11 @@ SUITE(NatTests)
CHECK_EQUAL(expetedIp,resultIp);
}
TEST(TestHandlePDU)
{
Tins::EthernetII eth = Tins::EthernetII() / Tins::IP() / Tins::TCP();
otonat::NatMap natMap = otonat::NatMap();
natMap.handlePdu(&eth);
}
}