mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 04:11:35 +01:00
Fix active tests build issues
This commit is contained in:
@@ -48,6 +48,12 @@ using Tins::NetworkInterface;
|
||||
|
||||
// Source address test
|
||||
|
||||
IPv4SourceAddressTest::IPv4SourceAddressTest(const PacketSenderPtr& packet_sender,
|
||||
const ConfigurationPtr& configuration)
|
||||
: ActiveTest(packet_sender, configuration) {
|
||||
|
||||
}
|
||||
|
||||
string IPv4SourceAddressTest::name() const {
|
||||
return "ipv4_source_address";
|
||||
}
|
||||
@@ -81,6 +87,12 @@ bool IPv4SourceAddressTest::test_matches_packet(const PDU& pdu) const {
|
||||
|
||||
// Fragmentation test
|
||||
|
||||
IPv4FragmentationTest::IPv4FragmentationTest(const PacketSenderPtr& packet_sender,
|
||||
const ConfigurationPtr& configuration)
|
||||
: ActiveTest(packet_sender, configuration) {
|
||||
|
||||
}
|
||||
|
||||
string IPv4FragmentationTest::name() const {
|
||||
return "ipv4_fragmentation";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user