Remove unnecessary block structure around CONTROL_PING messages. 87/4987/4
authorJon Loeliger <jdl@netgate.com>
Wed, 1 Feb 2017 19:09:58 +0000 (13:09 -0600)
committerDave Barach <openvpp@barachs.net>
Thu, 2 Feb 2017 17:32:49 +0000 (17:32 +0000)
commit2d23eca3e583cc3408d4fafc3aae6fe5b1109e55
treebdf23b490b3939b3b5fe3020acb32e733a9d24f3
parent56c7b01e163c233030359781d7e60f4553e90c51
Remove unnecessary block structure around CONTROL_PING messages.

Now that the M() and S() macros accept a message parameter, there
is no longer a need to introduce a new block structure around the
CONTROL_PING messages just to have a new unbound "mp" variable.
Instead, just use one named "mp_ping" directly.

Change-Id: I6b283562bb6eec25806e3d35c35b977680ecd1dd
Signed-off-by: Jon Loeliger <jdl@netgate.com>
src/plugins/snat/snat_test.c
src/vat/api_format.c