diff options
| author | Carmine Scarpitta <cscarpit@cisco.com> | 2025-02-26 10:17:56 +0100 |
|---|---|---|
| committer | Carmine Scarpitta <cscarpit@cisco.com> | 2025-02-27 12:14:02 +0100 |
| commit | e7640f388538cba10bf954460315c7c9fac22d04 (patch) | |
| tree | da76ce3f15dcd4294a3593e89442046af49f04cf /staticd | |
| parent | 598eaf37f87f6db2f8d1c2711d67469b324f1311 (diff) | |
staticd: Convert `static-sids` command to DEFPY
This commit converts the `static-sids` command from `DEFUN` to `DEFPY`
to simplify the parsing of the command string definition.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Diffstat (limited to 'staticd')
| -rw-r--r-- | staticd/static_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/staticd/static_vty.c b/staticd/static_vty.c index 6e9087363d..dd57bfa173 100644 --- a/staticd/static_vty.c +++ b/staticd/static_vty.c @@ -1190,7 +1190,7 @@ DEFUN_YANG_NOSH (no_static_srv6, no_static_srv6_cmd, return nb_cli_apply_changes(vty, "%s", xpath); } -DEFUN_NOSH (static_srv6_sids, static_srv6_sids_cmd, +DEFPY_NOSH (static_srv6_sids, static_srv6_sids_cmd, "static-sids", "Segment Routing SRv6 SIDs\n") { |
