diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-08-26 12:25:42 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-09-02 18:49:49 +0000 |
commit | e48f5574f7a7b183ecb02520989a89aba57f89da (patch) | |
tree | a928681ab85b807182927dc5f94603cbdfd48b56 /test/patches | |
parent | de6faf9319216ed22abff93bf8c990241e1ff5f1 (diff) |
acl: perform a sanity check of ACL rules before creating ACL
Adding acl with incorrect arguments like 1.1.1.1/24 (instead of 1.1.1.0/24)
don't cause a disaster, but doesn't match either, as some might expect.
Add an explicit sanity check which returns an error.
Type: fix
Change-Id: Id1601f4b9c9887d3e7e70aac419d1f1de0c0e012
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'test/patches')
0 files changed, 0 insertions, 0 deletions