aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon THOBY <git@nightmared.fr>2022-11-12 16:37:38 +0100
committerSimon THOBY <git@nightmared.fr>2022-11-12 16:37:38 +0100
commitf8effdd348e38f51f6ec7b24c4c27e6602538445 (patch)
tree49334f265a27ea39f115d498780ecba3581728d3 /examples
parentcc717f0aed28138ee1a422c790dd129bfc1bfdc1 (diff)
tests: fix the NetlinkExpr ordering
Diffstat (limited to 'examples')
-rw-r--r--examples/add-rules.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/add-rules.rs b/examples/add-rules.rs
index 75fc63e..a9c3539 100644
--- a/examples/add-rules.rs
+++ b/examples/add-rules.rs
@@ -38,7 +38,7 @@
use ipnetwork::{IpNetwork, Ipv4Network};
use rustables::{
- chain::HookClass, list_chains_for_table, list_tables, Batch, Chain, ChainPolicy, Hook, MsgType,
+ list_chains_for_table, list_tables, Batch, Chain, ChainPolicy, Hook, HookClass, MsgType,
ProtocolFamily, Table,
};
//use rustables::{nft_expr, query::send_batch, sys::libc, Batch, Chain, Rule, Table};