|
@@ -14,6 +14,7 @@
|
|
|
|
|
|
#include <dhcp/pkt_filter.h>
|
|
|
#include <dhcp/pkt_filter_inet.h>
|
|
|
+#include <dhcp/pkt_filter_inet6.h>
|
|
|
#include <dhcp/tests/iface_mgr_test_config.h>
|
|
|
#include <dhcp/tests/pkt_filter_test_stub.h>
|
|
|
#include <dhcp/tests/pkt_filter6_test_stub.h>
|
|
@@ -42,6 +43,7 @@ IfaceMgrTestConfig::~IfaceMgrTestConfig() {
|
|
|
IfaceMgr::instance().closeSockets();
|
|
|
IfaceMgr::instance().clearIfaces();
|
|
|
IfaceMgr::instance().setPacketFilter(PktFilterPtr(new PktFilterInet()));
|
|
|
+ IfaceMgr::instance().setPacketFilter(PktFilter6Ptr(new PktFilterInet6()));
|
|
|
|
|
|
IfaceMgr::instance().detectIfaces();
|
|
|
}
|