diff options
Diffstat (limited to 'oikobusd.c')
| -rw-r--r-- | oikobusd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; } |
