]> git.proxmox.com Git - pve-network.git/commit - PVE/Network/SDN/Controllers/EvpnPlugin.pm
split declaration and initialization with post-if
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 1 Jul 2020 07:57:32 +0000 (09:57 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 1 Jul 2020 07:57:34 +0000 (09:57 +0200)
commit3caa7687f93302c43dfeca5d9efba29f3ac9c76b
treec980f60cc98e75720830fd1bea70a574d33ffd61
parent5a60da84d97d79a66b48d8b0153030358684b5cd
split declaration and initialization with post-if

since combining them is undefined behaviour in perl and can cause
strange side-effects.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/Network/SDN/Controllers/EvpnPlugin.pm
PVE/Network/SDN/Zones/VxlanPlugin.pm