aboutsummaryrefslogtreecommitdiff
path: root/src/expr/reject.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/reject.rs')
-rw-r--r--src/expr/reject.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/expr/reject.rs b/src/expr/reject.rs
index 2ea0cbf..19752ce 100644
--- a/src/expr/reject.rs
+++ b/src/expr/reject.rs
@@ -2,13 +2,12 @@ use super::{DeserializationError, Expression, Rule};
use crate::ProtoFamily;
use crate::sys::{self, libc::{self, c_char}};
-/// A reject expression that defines the type of rejection message sent
-/// when discarding a packet.
+/// A reject expression that defines the type of rejection message sent when discarding a packet.
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
pub enum Reject {
- /// Return an ICMP unreachable packet
+ /// Returns an ICMP unreachable packet.
Icmp(IcmpCode),
- /// Reject by sending a TCP RST packet
+ /// Rejects by sending a TCP RST packet.
TcpRst,
}