summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_funcs.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@netgate.com>2018-02-27 13:58:47 -0600
committerDamjan Marion <dmarion.lists@gmail.com>2018-02-27 20:53:14 +0000
commit0aa14ed8f56cda4135766471d32755392f92bda7 (patch)
treecc1526b04a2d5fd3254f4cb5d188b8cd289885d4 /src/vnet/interface_funcs.h
parentb95bc05fce633096d6c6ec74b163ab92e3a39959 (diff)
memif: Fix a message initialization problem in VAT
The VAT calls to MEMIF_SOCKET_FILENAME_ADD_DEL erroneously cleared the message memory after the M() macro call and thus lost their message id. Don't do that. While in the neighborhood, prevent a string copy from referencing data that doesn't belong to the filename string. Change-Id: Ib4309608ed617ef4f193880ecf4a0b35fda65e51 Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'src/vnet/interface_funcs.h')
0 files changed, 0 insertions, 0 deletions