[PACKET_IO]bugfix for marsio mode

This commit is contained in:
liuwentan
2022-07-29 13:31:09 +08:00
parent 90b60f637e
commit ee2513fde4
11 changed files with 209 additions and 154 deletions

View File

@@ -5,7 +5,7 @@
TEST(PACKET_IO_Test, packet_io_open_device) {
struct packet_io_config ppio_config;
struct packet_io_instance *ppio_inst = packet_io_instance_create("stellar", PACKET_IO_RUN_MODE_PCAP_FILE, 2);
EXPECT_EQ(packet_io_open_device(ppio_inst, nullptr, 1, 1), nullptr);
EXPECT_EQ(packet_io_device_open(ppio_inst, nullptr, 1, 1), nullptr);
}
int main(int argc, char ** argv)