summaryrefslogtreecommitdiff
path: root/ctdb/protocol/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/protocol/protocol.h')
-rw-r--r--ctdb/protocol/protocol.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/ctdb/protocol/protocol.h b/ctdb/protocol/protocol.h
index 266fc4b26b6..28a28f41b2f 100644
--- a/ctdb/protocol/protocol.h
+++ b/ctdb/protocol/protocol.h
@@ -555,8 +555,14 @@ typedef union {
} ctdb_sock_addr;
struct ctdb_connection {
- ctdb_sock_addr src;
- ctdb_sock_addr dst;
+ union {
+ ctdb_sock_addr src;
+ ctdb_sock_addr server;
+ };
+ union {
+ ctdb_sock_addr dst;
+ ctdb_sock_addr client;
+ };
};
struct ctdb_tunable {