summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--oikobusd.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/TODO b/TODO
index a2cd761..7b6afe4 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,4 @@
Add support for SIGCONT
Add ability to reexec
Add ability to reload
+Add option to not use discovery (for isolated instance)
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;
}