diff options
| author | Mattias Andrée <m@maandree.se> | 2026-06-01 19:10:42 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-06-01 19:10:42 +0200 |
| commit | 2fc0b728fe04f9cc89ebe30c38615663c37c5b06 (patch) | |
| tree | 6db5b582f9fa8ceb6e5410be96219944cbb12835 | |
| parent | First commit (diff) | |
| download | oikobus-2fc0b728fe04f9cc89ebe30c38615663c37c5b06.tar.gz oikobus-2fc0b728fe04f9cc89ebe30c38615663c37c5b06.tar.bz2 oikobus-2fc0b728fe04f9cc89ebe30c38615663c37c5b06.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | TODO | 1 | ||||
| -rw-r--r-- | oikobusd.c | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -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) @@ -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; } |
