diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-07-21 08:04:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-21 08:04:18 -0400 |
| commit | 87af90a765b697a944e4309a4b89c0a44b958435 (patch) | |
| tree | c69347488b16275c26d352205cc09e42f9d696d6 | |
| parent | 7f74014f9903d0e4659649a25b0ab6870b716d2a (diff) | |
| parent | 4c94922c4b0dd6766a71cf683496b33877b9bbe1 (diff) | |
Merge pull request #11653 from louis-6wind/fix-isis-sr-php
isisd: fix prefix-sid last-hop-behavior
| -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 bbc569ec1c..a673cb8c1e 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); |
