classify: fix message IDs on API replies 79/33879/2
authorMatthew Smith <mgsmith@netgate.com>
Tue, 28 Sep 2021 21:02:10 +0000 (16:02 -0500)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 29 Sep 2021 14:42:47 +0000 (14:42 +0000)
commitc773a7d5c823e8d804d7c9c52476ca1584843051
tree64826a851b5f4850e2016920c892f28ca51d17e9
parente11203e5b8fd61986573e0cba9e47cefcf50e60d
classify: fix message IDs on API replies

Type: fix

When the API cleanup of classify messages was done, the code was not
updated to add the message enums to REPLY_MSG_ID_BASE. So the wrong
message IDs are being sent back in replies to classify API requests.

Add REPLY_MSG_ID_BASE when populated vl_msg_id on a reply.

Change-Id: Ic7c828f14d42a346fc58fc9ff062b954f494cdbd
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vnet/classify/classify_api.c