--- Begin Message ---
patch logic seem to be ok for me. (I don't have tested it)

>>
>>     for my $address (@peers) {
>>- next if $address eq $ifaceip;
>>- push @iface_config, "vxlan_remoteip $address";
>>+     push @iface_config, "vxlan_local_tunnelip $address" if $address eq 
>>$ifaceip;
>>+        push @iface_config, "vxlan_remoteip $address" if $address ne 
>>$ifaceip;
>>     }

just be carefull about the identation and maybe use a if/else



--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to