summaryrefslogtreecommitdiffstats
path: root/pbrd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-03-26 03:00:19 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-06 19:22:43 +0200
commit8ee9738bbc436725b32c4b43cb4118f5fc3e1103 (patch)
tree80a6866b9dbe56e4239ed228659660a71f20ddde /pbrd
parentpbrd: Prevent crash from partially configured interface (diff)
downloadfrr-8ee9738bbc436725b32c4b43cb4118f5fc3e1103.tar.xz
frr-8ee9738bbc436725b32c4b43cb4118f5fc3e1103.zip
pbrd: Reduce range so we cannot go over the vrf rule
The linux kernel puts the vrf rule at 1000, since pbr rules need to be before this rule, don't allow us to go beyond. Ticket: CM-19946 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pbrd')
-rw-r--r--pbrd/pbr_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c
index 02902fd00..f01286717 100644
--- a/pbrd/pbr_vty.c
+++ b/pbrd/pbr_vty.c
@@ -316,7 +316,7 @@ DEFPY (pbr_table_range,
DEFPY (pbr_rule_range,
pbr_rule_range_cmd,
- "[no] pbr rule range (300-1300)$start (400-1400)$end",
+ "[no] pbr rule range (300-900)$start (400-1000)$end",
NO_STR
"Policy based routing\n"
"Policy based routing rule\n"