]> git.ipfire.org Git - people/stevee/network.git/commit
security-polcies: Only allow creating one policy at a time
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Jul 2017 18:47:01 +0000 (20:47 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Jul 2017 18:47:01 +0000 (20:47 +0200)
commit58aa0edf8e4c48288dc5b92866fc59b7d05fcda1
tree54d3d441dca889bd8ec570e110066f1189d31a82
parent6740c9c5470889cf00f8497e1fd45fcf174a3de8
security-polcies: Only allow creating one policy at a time

This keeps the function easier and lets it return a better error code
when ever something goes wrong.

I don't expect to do anyone doing this in bulk.

I also changed some of the error messages.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.vpn-security-policies