]> git.puffer.fish Git - mirror/frr.git/commit
pbrd: If changing policy on an interface be careful what you ask for
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 13 Feb 2019 00:17:05 +0000 (19:17 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 13 Feb 2019 00:21:28 +0000 (19:21 -0500)
commit6eb499b0315eea9df04908dea3ef58973f43b9b3
tree0a5d58aad161c8ec3ac6bb4546da4ce3841a5d47
parent7e737f3d4070c70bd052ece58126769fd972daa9
pbrd: If changing policy on an interface be careful what you ask for

When changing policy on an interface, only delete the old_pbrm
if it is different than the current, this covers the case:

current config:
int swp1
  pbr-policy DONNA

To a config entered of:

int swp1
  pbr-policy EVA

Additionally there is no need to reinstall if we enter the same
pbr-policy two times in a row.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pbrd/pbr_vty.c