diff options
| author | Chirag Shah <chirag@nvidia.com> | 2023-03-16 21:47:07 -0700 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-03-19 04:43:02 +0000 |
| commit | 907a881e64dc937de511745005a74289b2626a03 (patch) | |
| tree | d7f344ebaae044c59b7aa2d1899303de80dd12b8 /lib/filter_cli.c | |
| parent | e4aa127939ba07082be2a11eb6f13b2ffdc4a770 (diff) | |
pbrd:fix mismatching in match src-dst
upstream commit 67765a232d has incorect
address family check which prevent from
deleting src/dst config under pbr rule.
Ticket:#3405024
Issue:3405024
Testing Done:
Config:
pbr-map map6 seq 1
match src-ip 2000::200:100:100:0/96
match dst-ip 2000::100:100:100:0/96
set nexthop-group group3
Before:
torc-12(config)# pbr-map map6 seq 1
torc-12(config-pbr-map)# no match src-ip 2000::200:100:100:0/96
Cannot mismatch families within match src/dst
After:
torc-12(config)# pbr-map map6 seq 1
torc-12(config-pbr-map)# no match src-ip 2000::200:100:100:0/96
torc-12(config-pbr-map)#
Signed-off-by: Chirag Shah <chirag@nvidia.com>
(cherry picked from commit 03494887eddaa255d9b6a217bfff60cc63cede42)
Diffstat (limited to 'lib/filter_cli.c')
0 files changed, 0 insertions, 0 deletions
