ipsec: fix sa bind cli
Small mistake was made, reported by coverty scan. Type: fix Change-Id: I98ca16c0275a94b2def99831f9353d4ff3fe93a9 Signed-off-by: Maxime Peim <mpeim@cisco.com>
This commit is contained in:
Maxime Peim
committed by
Beno�t Ganne
parent
2652867480
commit
f902ba534a
@ -229,7 +229,7 @@ ipsec_sa_bind_cli (vlib_main_t *vm, unformat_input_t *input,
|
||||
{
|
||||
if (unformat (line_input, "unbind"))
|
||||
bind = 0;
|
||||
else if (id != ~0 && unformat (line_input, "%u", &id))
|
||||
else if (id == ~0 && unformat (line_input, "%u", &id))
|
||||
;
|
||||
else if (unformat (line_input, "%u", &worker))
|
||||
;
|
||||
|
Reference in New Issue
Block a user