export bond_modes (define with 'our' instead of 'my')
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 18 May 2016 14:49:19 +0000 (16:49 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 18 May 2016 14:49:19 +0000 (16:49 +0200)
So that other people can use that from outside.

src/PVE/INotify.pm

index b6749d3..8cc00f8 100644 (file)
@@ -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,