summaryrefslogtreecommitdiffstats
path: root/pathd/path_cli.c
diff options
context:
space:
mode:
authorJavier Garcia <javier.garcia@voltanet.io>2021-05-13 13:38:41 +0200
committerJavier Garcia <javier.garcia@voltanet.io>2021-05-18 18:39:41 +0200
commit839e6ce56021622ae5029a307f25fd5d341cf43c (patch)
treeaeb56711735ddc1400f29b6e9339d2f9508dd2bc /pathd/path_cli.c
parentMerge pull request #8663 from donaldsharp/pretty_function (diff)
downloadfrr-839e6ce56021622ae5029a307f25fd5d341cf43c.tar.xz
frr-839e6ce56021622ae5029a307f25fd5d341cf43c.zip
pathd: Fix affinity command to exclude options to match implementation.
Including documentation update. Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
Diffstat (limited to '')
-rw-r--r--pathd/path_cli.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/pathd/path_cli.c b/pathd/path_cli.c
index 7a28449e4..8e1f94b0f 100644
--- a/pathd/path_cli.c
+++ b/pathd/path_cli.c
@@ -821,9 +821,8 @@ DEFPY(srte_candidate_no_bandwidth,
return nb_cli_apply_changes(vty, NULL);
}
-DEFPY(srte_candidate_affinity_filter,
- srte_candidate_affinity_filter_cmd,
- "affinity {exclude-any|include-any|include-all}$type BITPATTERN$value",
+DEFPY(srte_candidate_affinity_filter, srte_candidate_affinity_filter_cmd,
+ "affinity <exclude-any|include-any|include-all>$type BITPATTERN$value",
"Affinity constraint\n"
"Exclude any matching link\n"
"Include any matching link\n"
@@ -846,9 +845,8 @@ DEFPY(srte_candidate_affinity_filter,
return nb_cli_apply_changes(vty, NULL);
}
-DEFPY(srte_candidate_no_affinity_filter,
- srte_candidate_no_affinity_filter_cmd,
- "no affinity {exclude-any|include-any|include-all}$type [BITPATTERN$value]",
+DEFPY(srte_candidate_no_affinity_filter, srte_candidate_no_affinity_filter_cmd,
+ "no affinity <exclude-any|include-any|include-all>$type [BITPATTERN$value]",
NO_STR
"Affinity constraint\n"
"Exclude any matching link\n"