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

Dietmar Maurer dietmar at proxmox.com
Wed May 18 12:54:08 CEST 2016


I am unable to apply this patch - I get:

error: patch failed: src/PVE/INotify.pm:665
error: src/PVE/INotify.pm: patch does not apply
Patch failed at 0001 network interfaces code is split into syntax dependent and
independent parts

not sure why?

> 
> Signed-off-by: Igor Vlasenko <viy at altlinux.org>
> ---
>  src/PVE/INotify.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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,
> -- 
> 2.6.5
> 




More information about the pve-devel mailing list