diff options
author | Simon THOBY <git@nightmared.fr> | 2021-11-15 22:38:03 +0100 |
---|---|---|
committer | lafleur <lafleur@boum.org> | 2021-11-26 12:07:37 +0100 |
commit | 4716eb28408422f1a5249eb39f75f67916ec5781 (patch) | |
tree | 2be56bb6d6c1af332a6f1e9b1b2ed7abcdc074c0 /src | |
parent | ab706e6a61cb103f1fb80df5d618b62422c779b1 (diff) |
tests: add tests for `Set`s
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -77,8 +77,8 @@ use thiserror::Error; extern crate log; pub mod sys; -use sys::libc; use std::{convert::TryFrom, ffi::c_void, ops::Deref}; +use sys::libc; macro_rules! try_alloc { ($e:expr) => {{ @@ -123,6 +123,7 @@ mod rule_methods; pub use rule_methods::{iface_index, Protocol, RuleMethods, Error as MatchError}; pub mod set; +pub use set::Set; /// The type of the message as it's sent to netfilter. A message consists of an object, such as a /// [`Table`], [`Chain`] or [`Rule`] for example, and a [`MsgType`] to describe what to do with |