diff options
Diffstat (limited to 'rustables/src/expr/log.rs')
-rw-r--r-- | rustables/src/expr/log.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rustables/src/expr/log.rs b/rustables/src/expr/log.rs index 614e340..aa7a8b7 100644 --- a/rustables/src/expr/log.rs +++ b/rustables/src/expr/log.rs @@ -50,8 +50,8 @@ pub enum LogPrefixError { pub struct LogGroup(pub u16); /// A prefix that will get prepended to each log line. -#[derive(Clone)] -pub struct LogPrefix(pub CString); +#[derive(Debug, Clone, PartialEq)] +pub struct LogPrefix(CString); impl LogPrefix { /// Create a new LogPrefix from a String. Converts it to CString as needed by nftnl. Note |