summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libnetgraph/msg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libnetgraph/msg.c b/lib/libnetgraph/msg.c
index 90b6278..2c5953d 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);
OpenPOWER on IntegriCloud