diff options
author | Tetsuya Murakami <tetsuya.mrk@gmail.com> | 2020-03-24 13:12:13 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-03-25 11:56:49 +0000 |
commit | b24e287b9295bcc3e904753e9e2bfde89d6666db (patch) | |
tree | 0739367e0e465141b4562ca83c4e66db4e516077 /src/vnet/srv6 | |
parent | 31d6c738c20d3baa619dbbb08af6125fab32bc08 (diff) |
sr: Change the CLI keyword from address to prefix.
Change the CLI keyword from address to prefix in sr localsid command.
Type: feature
Signed-off-by: Tetsuya Murakami <tetsuya.mrk@gmail.com>
Change-Id: Icc3072404a106ab40e829d2d291e5c179a4443a8
Signed-off-by: Tetsuya Murakami <tetsuya.mrk@gmail.com>
Diffstat (limited to 'src/vnet/srv6')
-rwxr-xr-x | src/vnet/srv6/sr_localsid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/srv6/sr_localsid.c b/src/vnet/srv6/sr_localsid.c index 6af6b7497bd..4c21edfe0ef 100755 --- a/src/vnet/srv6/sr_localsid.c +++ b/src/vnet/srv6/sr_localsid.c @@ -312,7 +312,7 @@ sr_cli_localsid_command_fn (vlib_main_t * vm, unformat_input_t * input, if (unformat (input, "del")) is_del = 1; else if (!address_set - && unformat (input, "address %U/%u", unformat_ip6_address, + && unformat (input, "prefix %U/%u", unformat_ip6_address, &resulting_address, &prefix_len)) address_set = 1; else if (!address_set |