summaryrefslogtreecommitdiff
path: root/yang/frr-bgp-common-structure.yang
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-05-13 14:32:52 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-05-14 17:00:11 +0300
commitba51dd2605c19c556be8865c703478d320da5f99 (patch)
tree6f2f9051817c8bbaa217c7785b819371f7bcf336 /yang/frr-bgp-common-structure.yang
parenta63273a5b48bcae375af39928bafafadc6a31e0c (diff)
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/frr-bgp-common-structure.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 232c78899e..2ad22a1435 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