summaryrefslogtreecommitdiffstats
path: root/oikobusd.c
diff options
context:
space:
mode:
Diffstat (limited to 'oikobusd.c')
-rw-r--r--oikobusd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/oikobusd.c b/oikobusd.c
index 10041d8..9087bcf 100644
--- a/oikobusd.c
+++ b/oikobusd.c
@@ -504,6 +504,11 @@ peer_handshake(union file *this_, uint32_t epoll_events)
uint8_t bit = (uint8_t)(1u << (this->handshake_state->realm % 8u));
this->realms[this->handshake_state->realm / 8u] |= bit;
handshake_prepare(this, 1u)[0u] = 1u;
+ /* TODO we should send a realm index instead, so we can
+ * encode reals as indicies rather than names
+ * (index 0 should be reserved for the local-only
+ * realm: a default realm that can only be accessed
+ * on the same machine by the same user) */
} else {
handshake_prepare(this, 1u)[0u] = 0u;
}