diff options
Diffstat (limited to 'nftnl/examples/add-rules.rs')
-rw-r--r-- | nftnl/examples/add-rules.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nftnl/examples/add-rules.rs b/nftnl/examples/add-rules.rs index 2d6eba5..496d321 100644 --- a/nftnl/examples/add-rules.rs +++ b/nftnl/examples/add-rules.rs @@ -17,14 +17,14 @@ //! type filter hook output priority 0; policy accept; //! ip daddr 10.1.0.0/24 counter packets 0 bytes 0 accept //! } -//! +//! //! chain chain-for-incoming-packets { //! type filter hook input priority 0; policy accept; //! iif "lo" accept //! } //! } //! ``` -//! +//! //! Try pinging any IP in the network range denoted by the outgoing rule and see the counter //! increment: //! ```bash |