summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_api.c
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-07-15 17:16:49 +0200
committerDave Barach <openvpp@barachs.net>2019-07-18 15:16:37 +0000
commitc30d87e6139c64eceade54972715b402c625763d (patch)
tree4d8d5f88f18c56955a0cb5deaeaf35581d42abdc /src/vnet/interface_api.c
parent58b2eb1af562c292feb6d3cdce4656746e61da75 (diff)
tap: fix memory errors with create/delete API
CLI allocates vectors consumed by tap_create_if(), whereas API pass null-terminated C-strings allocated on API segment. Do not try to be too clever here, and just allocate our own private copies. Type: fix Fixes: 8d879e1a6bac47240a232893e914815f781fd4bf Ticket: VPP-1724 Change-Id: I3ccdb8e0fcd4cb9be414af9f38cf6c33931a1db7 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/interface_api.c')
0 files changed, 0 insertions, 0 deletions