summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-05-13 13:32:52 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-05-14 16:00:11 +0200
commitba51dd2605c19c556be8865c703478d320da5f99 (patch)
tree6f2f9051817c8bbaa217c7785b819371f7bcf336 /yang
parentMerge pull request #8556 from donaldsharp/bgp_pbr_weird (diff)
downloadfrr-ba51dd2605c19c556be8865c703478d320da5f99.tar.xz
frr-ba51dd2605c19c556be8865c703478d320da5f99.zip
bgpd, yang: fix replace-as yang leaf
The leaf is called "no-replace-as" in the model but is used reversed in all the code. Let's rename it to comply with the actual behavior. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-bgp-common-structure.yang2
1 files changed, 1 insertions, 1 deletions
diff --git a/yang/frr-bgp-common-structure.yang b/yang/frr-bgp-common-structure.yang
index 232c78899..2ad22a143 100644
--- a/yang/frr-bgp-common-structure.yang
+++ b/yang/frr-bgp-common-structure.yang
@@ -124,7 +124,7 @@ submodule frr-bgp-common-structure {
set to 'false' it will prepend local-as to updates.";
}
- leaf no-replace-as {
+ leaf replace-as {
type boolean;
default "false";
description