[pve-devel] [PATCH common] network interfaces code is split into syntax dependent and independent parts

Igor Vlasenko ivlasenko at gmail.com
Wed May 18 13:47:10 CEST 2016


> Added it as attachment.
I see, attachments are prohibited.
I'll repost it. In any case, the change is just
 -my $bond_modes =
 +our $bond_modes =

diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm
index c34659f..1a34df1 100644
--- a/src/PVE/INotify.pm
+++ b/src/PVE/INotify.pm
@@ -665,7 +665,7 @@ register_file('active', "/var/log/pve/tasks/active",
           \&write_active_workers);


-my $bond_modes = { 'balance-rr' => 0,
+our $bond_modes = { 'balance-rr' => 0,
            'active-backup' => 1,
            'balance-xor' => 2,
            'broadcast' => 3,



More information about the pve-devel mailing list