aboutsummaryrefslogtreecommitdiff
path: root/rustables/examples/filter-ethernet.rs
diff options
context:
space:
mode:
authorlafleur <lafleur@boum.org>2021-11-07 14:19:37 +0100
committerlafleur <lafleur@boum.org>2021-11-07 14:19:37 +0100
commit1e33e3ab0790d977add329e9686b4b9e5570ba3c (patch)
treeeb55ce7ff42be89be640ce2330e2503349267798 /rustables/examples/filter-ethernet.rs
parent55d9bf885e009953a0001062b2b60c21e8322a31 (diff)
call bindgen on build in rustables
Diffstat (limited to 'rustables/examples/filter-ethernet.rs')
-rw-r--r--rustables/examples/filter-ethernet.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rustables/examples/filter-ethernet.rs b/rustables/examples/filter-ethernet.rs
index 23be8a1..b16c49e 100644
--- a/rustables/examples/filter-ethernet.rs
+++ b/rustables/examples/filter-ethernet.rs
@@ -22,7 +22,7 @@
//! # nft delete table inet example-filter-ethernet
//! ```
-use rustables::{nft_expr, rustables_sys::libc, Batch, Chain, FinalizedBatch, ProtoFamily, Rule, Table};
+use rustables::{nft_expr, sys::libc, Batch, Chain, FinalizedBatch, ProtoFamily, Rule, Table};
use std::{ffi::CString, io, rc::Rc};
const TABLE_NAME: &str = "example-filter-ethernet";