diff --git a/lib/libnetgraph/msg.c b/lib/libnetgraph/msg.c index 90b6278a5315..2c5953d928bd 100644 --- a/lib/libnetgraph/msg.c +++ b/lib/libnetgraph/msg.c @@ -144,6 +144,7 @@ NgSendAsciiMsg(int cs, const char *path, const char *fmt, ...) if (++gMsgId < 0) gMsgId = 1; binary->header.token = gMsgId; + binary->header.version = NG_VERSION; if (NgDeliverMsg(cs, path, binary, binary->data, binary->header.arglen) < 0) { free(reply);