[PACKET_IO]bugfix for marsio mode
This commit is contained in:
@@ -60,7 +60,7 @@ packet_io_init(const char *instance_name, const enum packet_io_run_mode mode, co
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
struct packet_io_device *ppio_dev = packet_io_open_device(ppio_inst, "eth1", wrk_thread_num, wrk_thread_num);
|
||||
struct packet_io_device *ppio_dev = packet_io_device_open(ppio_inst, "eth1", wrk_thread_num, wrk_thread_num);
|
||||
if (nullptr == ppio_dev) {
|
||||
log_error(ST_ERR_PIO_DEVICE, "packet_io device open failed.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user