vrrp: fix cli functions according to short_help 69/37069/3
authorluoyaozu <luoyaozu@foxmail.com>
Fri, 2 Sep 2022 12:32:13 +0000 (20:32 +0800)
committerMatthew Smith <mgsmith@netgate.com>
Tue, 6 Sep 2022 19:31:15 +0000 (19:31 +0000)
commit5085d8a9456f4a75fcb8b7d263202e6ac3a7a441
treefd929c2b64ce554d9d53148f0216d7859696b067
parentedb0d4563c2e808a1c7d9101b2c05087ffb3b279
vrrp: fix cli functions according to short_help

test output before fix:
  DBGvpp# vrrp proto start sw_if_index 1 vr_id 1
  vrrp proto: unknown input `sw_if_index 1 vr_id 1'
  DBGvpp# vrrp vr track-if add sw_if_index 1 vr_id 1 track-index 1
priority 30
  vrrp vr track-if: Please specify an interface

Type: fix

Signed-off-by: luoyaozu <luoyaozu@foxmail.com>
Change-Id: Ib8ba67e920b23008d9246318ec8f8f17bf0bea95
src/plugins/vrrp/vrrp_cli.c