diff options
author | Pierre Pfister <ppfister@cisco.com> | 2018-11-26 09:29:00 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-11-26 19:53:18 +0000 |
commit | 6221927e9bad39c2856e844f8bc38947cb447f73 (patch) | |
tree | 74679586c0c01819b4ec5ba60a796baa3b69c72d /src/vlib/cli.c | |
parent | a25def7807fb46bd48462be3ec5c598fc79e2a13 (diff) |
Fix IPSec CLI key parsing
strncpy stops copying when a byte set to 0 is read.
The fix is to use mempcy instead.
This patch also adds spd id to ipsec input trace.
Change-Id: Ibed071d3607fa76c3f6ee065f94128f1aca9b2e2
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'src/vlib/cli.c')
0 files changed, 0 insertions, 0 deletions