diff options
author | Louis Scalbert <louis.scalbert@6wind.com> | 2022-07-20 19:25:52 +0200 |
---|---|---|
committer | Louis Scalbert <louis.scalbert@6wind.com> | 2022-07-20 19:25:52 +0200 |
commit | 4c94922c4b0dd6766a71cf683496b33877b9bbe1 (patch) | |
tree | c9be65c5a9cfe5686b6f18cace6f2972f9cd16d4 /isisd | |
parent | Merge pull request #11651 from anlancs/fix/minor-7 (diff) | |
download | frr-4c94922c4b0dd6766a71cf683496b33877b9bbe1.tar.xz frr-4c94922c4b0dd6766a71cf683496b33877b9bbe1.zip |
isisd: fix prefix-sid last-hop-behavior
The php value is defined in yang but not properly set.
Fixes: 8f6c893629 ("isisd: add segment-routing CLI commands")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_cli.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c index bbc569ec1..a673cb8c1 100644 --- a/isisd/isis_cli.c +++ b/isisd/isis_cli.c @@ -1629,8 +1629,10 @@ DEFPY_YANG (isis_sr_prefix_sid, if (strmatch(lh_behavior, "no-php-flag")) value = "no-php"; - else + else if (strmatch(lh_behavior, "explicit-null")) value = "explicit-null"; + else + value = "php"; nb_cli_enqueue_change(vty, "./last-hop-behavior", NB_OP_MODIFY, value); |