Signed-off-by: Gabriel Goller <[email protected]>
---
proxmox-ve-config/src/firewall/cluster.rs | 3 ++-
proxmox-ve-config/src/firewall/types/ipset.rs | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/proxmox-ve-config/src/firewall/cluster.rs
b/proxmox-ve-config/src/firewall/cluster.rs
index 69d3bcd6d9cd..d379fe611772 100644
--- a/proxmox-ve-config/src/firewall/cluster.rs
+++ b/proxmox-ve-config/src/firewall/cluster.rs
@@ -147,7 +147,8 @@ mod tests {
log::{LogLevel, LogRateLimitTimescale},
rule::{Kind, RuleGroup},
rule_match::{
- Icmpv6, Icmpv6Code, Icmpv6Type, IpAddrMatch, IpMatch, Ports,
Protocol, RuleMatch, Tcp, Udp
+ Icmpv6, Icmpv6Code, Icmpv6Type, IpAddrMatch, IpMatch, Ports,
Protocol, RuleMatch, Tcp,
+ Udp,
},
};
diff --git a/proxmox-ve-config/src/firewall/types/ipset.rs
b/proxmox-ve-config/src/firewall/types/ipset.rs
index 3f93bb28423a..f09b8d82d6aa 100644
--- a/proxmox-ve-config/src/firewall/types/ipset.rs
+++ b/proxmox-ve-config/src/firewall/types/ipset.rs
@@ -313,7 +313,7 @@ impl Ipset {
Ok(())
}
- pub fn ipfilter(&self) -> Option<Ipfilter> {
+ pub fn ipfilter(&self) -> Option<Ipfilter<'_>> {
if self.name.scope() != IpsetScope::Guest {
return None;
}
--
2.47.3