aboutsummaryrefslogtreecommitdiff
path: root/tests/batch.rs
diff options
context:
space:
mode:
authorSimon THOBY <git@nightmared.fr>2022-11-08 22:07:45 +0100
committerSimon THOBY <git@nightmared.fr>2022-11-11 15:56:57 +0100
commit84fc84c32e62e3d2c5fe7ab6c35b5d05f890e8a6 (patch)
treeb3017222a52aec640d225cf2e49d62748e1eaedf /tests/batch.rs
parent771b6a1879a96353c737bac0886d80444d27dff8 (diff)
Improved parsing with even more macros
Diffstat (limited to 'tests/batch.rs')
-rw-r--r--tests/batch.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/batch.rs b/tests/batch.rs
index 081ee97..740fc19 100644
--- a/tests/batch.rs
+++ b/tests/batch.rs
@@ -1,6 +1,7 @@
mod sys;
use libc::NFNL_MSG_BATCH_BEGIN;
use nix::libc::NFNL_MSG_BATCH_END;
+use rustables::nlmsg::NfNetlinkDeserializable;
use rustables::nlmsg::NfNetlinkObject;
use rustables::parser::{get_operation_from_nlmsghdr_type, parse_nlmsg, parse_object};
use rustables::{Batch, MsgType, Table};