aboutsummaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index fa0e26f..646b482 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -49,6 +49,9 @@ pub enum DecodeError {
#[error("Unsupported value for an icmp reject type")]
UnknownRejectType(u32),
+ #[error("Invalid type for a rt expression")]
+ UnknownRtKey(u32),
+
#[error("Unsupported value for an icmp code in a reject expression")]
UnknownIcmpCode(u8),