aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2005-02-07 07:45:29 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2005-02-07 07:45:29 +0000
commitcc6f4fbec428bffc9c9533bee32cd30a747b7645 (patch)
treeabc12e6a1ec4df2501b778e28dd570c20ca56ff3
parent077c6d01ec4b475e41226f87acf91bcfee28ff75 (diff)
Notes
-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 90b6278a53153..2c5953d928bdd 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);