[pve-devel] [PATCH 10/16] write_etc_interfaces: fix: don't write ref of options6

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Jun 24 14:33:24 CEST 2015


---
 src/PVE/INotify.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm
index 846eb2f..57d7e6f 100644
--- a/src/PVE/INotify.pm
+++ b/src/PVE/INotify.pm
@@ -773,7 +773,7 @@ my $extract_ovs_option = sub {
 #       <known options>, # like bridge_ports, ovs_*
 #
 #       # extra/unknown options stored by-family:
-#       options4 => { <inet options>... }
+#       options => { <inet options>... }
 #       options6 => { <inet6 options>... }
 #     }
 #   },
@@ -1108,7 +1108,7 @@ sub __interface_to_string {
     my $done = { type => 1, priority => 1, method => 1, active => 1, exists => 1,
 		 comments => 1, autostart => 1, options => 1,
 		 address => 1, netmask => 1, gateway => 1, broadcast => 1,
-		 method6=> 1, families => 1,
+		 method6=> 1, families => 1, options6 => 1,
 		 address6 => 1, netmask6 => 1, gateway6 => 1, broadcast6 => 1,
 		 %$once };
 
-- 
2.1.4





More information about the pve-devel mailing list