diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2001-10-29 18:36:30 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2001-10-29 18:36:30 +0000 |
| commit | 12142a1402e7b08256b4d396fac8b094bcd90fdb (patch) | |
| tree | 6e45442c8db880f99e0cc30847ae43cc18c02dd3 /lib/libnetgraph | |
| parent | 577959f8d6a0e589f16d04645e311ed7f12cfd2a (diff) | |
Notes
Diffstat (limited to 'lib/libnetgraph')
| -rw-r--r-- | lib/libnetgraph/msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libnetgraph/msg.c b/lib/libnetgraph/msg.c index 4cec810bc313..335015220a8c 100644 --- a/lib/libnetgraph/msg.c +++ b/lib/libnetgraph/msg.c @@ -80,7 +80,7 @@ NgSendMsg(int cs, const char *path, /* Deliver message */ if (NgDeliverMsg(cs, path, &msg, args, arglen) < 0) return (-1); - return (gMsgId); + return (msg.header.token); } /* @@ -145,7 +145,7 @@ NgSendAsciiMsg(int cs, const char *path, const char *fmt, ...) if (NgDeliverMsg(cs, path, binary, binary->data, binary->header.arglen) < 0) return (-1); - return (gMsgId); + return (binary->header.token); } /* |
