diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-04-06 14:41:05 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-04-06 14:41:05 +1000 |
commit | eb73358691396748d7ce2666a8599e42204725d2 (patch) | |
tree | 426ce6616add42e699164945934779d4f9394e42 /ctdb/common/ctdb_message.c | |
parent | 16e7d716d12c68ed00d04fe3a296da9eae6446dd (diff) | |
download | samba-eb73358691396748d7ce2666a8599e42204725d2.tar.gz samba-eb73358691396748d7ce2666a8599e42204725d2.tar.xz samba-eb73358691396748d7ce2666a8599e42204725d2.zip |
added a magic header for wireshark and packet version info
(This used to be ctdb commit 8366c212bde710dd46c8c1d9d4301f6c3738e300)
Diffstat (limited to 'ctdb/common/ctdb_message.c')
-rw-r--r-- | ctdb/common/ctdb_message.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/common/ctdb_message.c b/ctdb/common/ctdb_message.c index 6e79042b855..d866d7876fc 100644 --- a/ctdb/common/ctdb_message.c +++ b/ctdb/common/ctdb_message.c @@ -65,6 +65,8 @@ int ctdb_send_message(struct ctdb_context *ctdb, uint32_t vnn, CTDB_NO_MEMORY(ctdb, r); r->hdr.length = len; + r->hdr.ctdb_magic = CTDB_MAGIC; + r->hdr.ctdb_version = CTDB_VERSION; r->hdr.operation = CTDB_REQ_MESSAGE; r->hdr.destnode = vnn; r->hdr.srcnode = ctdb->vnn; |