Is this a bug or how do I use @me? The perlhooks documentation says
5) on_handshake()
- for server called after receiving remote addresses (before addr is sent)
- best for hide_aka and present_aka logic :-)
- return non-empty string to abort session with that reason
otherwise, if @me is defined present @me as our akas
The error message is from perlhooks.c
if ((me = perl_get_av("me", FALSE)) != NULL) {
FTN_ADDR addr;
int n = 0, N = av_len(me) + 1;
if (N > 0) state->pAddr = xalloc(N*sizeof(FTN_ADDR));
for (i = 0; i < N; i++) {
svp = av_fetch(me, i, FALSE);
if (svp == NULL) continue;
if (!parse_ftnaddress(SvPV(*svp, len), &addr, cfg->pDomains.first)) continue;
exp_ftnaddress(&addr, cfg->pAddr, cfg->nAddr, cfg->pDomains.first);
state->pAddr[n++] = addr;
}
state->nAddr = n;
if (n == 0) Log(LL_WARN, "Perl on_handshake(): @me contains no valid addresses");
}
---
* Origin: 1995| Invention of the Cookie. The End. (2:280/464.47)