]> git.puffer.fish Git - mirror/frr.git/commit
lib: disallow access list duplicated values
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Fri, 4 Dec 2020 21:11:45 +0000 (18:11 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 10 Dec 2020 13:26:59 +0000 (10:26 -0300)
commit80edab912f65ead7d413dd69cbb41cdfcc5e39c2
treea846728d506ecce8df4115521b06fc52641864ed
parent324a698ed54dd69f91c1a216003c493b9e4db0c1
lib: disallow access list duplicated values

Don't allow users to create multiple rules in the same list with the
same value to keep the behavior previously to northbound migration.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
(cherry picked from commit f414129b0ce109550bd3a61f6020d7a9af6f9c35)
lib/filter.h
lib/filter_nb.c