Signed-off-by: Dietmar Maurer <[email protected]>
---
 proxmox-firewall-api-types/src/rule.rs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/proxmox-firewall-api-types/src/rule.rs 
b/proxmox-firewall-api-types/src/rule.rs
index 835ac96e..8588ca46 100644
--- a/proxmox-firewall-api-types/src/rule.rs
+++ b/proxmox-firewall-api-types/src/rule.rs
@@ -3,6 +3,8 @@ use serde::{Deserialize, Serialize};
 
 #[cfg(feature = "enum-fallback")]
 use proxmox_fixed_string::FixedString;
+
+use proxmox_schema::api_types::COMMENT_SCHEMA;
 use proxmox_schema::{api, const_regex, ApiStringFormat};
 
 use crate::{FirewallAddressMatch, FirewallIcmpType, FirewallPortList};
@@ -24,7 +26,7 @@ const_regex! {
         },
         comment: {
             optional: true,
-            type: String,
+            schema: COMMENT_SCHEMA,
         },
         dest: {
             optional: true,
-- 
2.47.3



Reply via email to