acl: verify that src and dst have sane and same address family 70/31770/4
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 25 Mar 2021 15:34:33 +0000 (15:34 +0000)
committerOle Tr�an <otroan@employees.org>
Wed, 9 Nov 2022 15:37:36 +0000 (15:37 +0000)
commit80c5fb76fc1ff23dada2d1d7a319b5896ea28456
treecf07f43571f0f8a84903f76f7a08cb058c315049
parent90943e5a049c18816a0da947a7366072e9a4a50a
acl: verify that src and dst have sane and same address family

API refactoring moved the address-family tag from rule
level down to prefix level.

This necessarily warrants the check that they are the same.

Also, add a check that the address family is sane.

Change-Id: Ia63b688cc9e7c9e9cc773e89708d9e9f99185fb7
Type: fix
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c