vlib: fix vlib_buffer_copy to preserve buffer flags bit 27/21127/2
authorJohn Lo <loj@cisco.com>
Wed, 7 Aug 2019 23:30:29 +0000 (19:30 -0400)
committerDave Barach <openvpp@barachs.net>
Fri, 9 Aug 2019 11:56:51 +0000 (11:56 +0000)
commit8ed2d524aa401a89547a1e059528f8a34bb8895f
tree806580d923be41e76c6d8f7406ebb7668b3ed2c4
parenta678974cc52ac61dd6094c3f6649f9e3202be1cb
vlib: fix vlib_buffer_copy to preserve buffer flags bit

Make vlib_buffer_copy() preserve buffer flags bit the same way as
that of vlib_buffer_clone() so both are consistent.

Type: fix

Signed-off-by: John Lo <loj@cisco.com>
Change-Id: I6c32aa1e88724b482ce2439d82019e690311b664
src/vlib/buffer_funcs.h