]> git.proxmox.com Git - pve-firewall.git/commit
make group digest stable
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 3 Jun 2016 13:14:23 +0000 (15:14 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Jun 2016 13:56:01 +0000 (15:56 +0200)
commitf76f3caefb35b14838f783e48ff3e3b44c91e196
tree453aa76e369dae398d8105c5b2b2a6568767464f
parentd0f3bb08a7d92823c7490c6df86a74b8f642437b
make group digest stable

if we had mulitple security groups and wanted to
edit one, we did not have a stable digest,
because perl hashes are not sorted

this patch sorts the keys before hashing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/API2/Firewall/Groups.pm