[pve-devel] [PATCH firewall] escape \ in description to avoid problems
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Apr 1 09:09:26 CEST 2016
this broke auto completion in qm for example (at maybe also problems
on other places)
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
src/PVE/Firewall.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm
index 4213d17..f98eb0d 100644
--- a/src/PVE/Firewall.pm
+++ b/src/PVE/Firewall.pm
@@ -1152,7 +1152,7 @@ my $rule_properties = {
maxLength => 128,
},
iface => get_standard_option('pve-iface', {
- description => "Network interface name. You have to use network configuration key names for VMs and containers ('net\d+'). Host related rules can use arbitrary strings.",
+ description => "Network interface name. You have to use network configuration key names for VMs and containers ('net\\d+'). Host related rules can use arbitrary strings.",
optional => 1
}),
source => {
--
2.1.4
More information about the pve-devel
mailing list