iIn case of IPv4 to IPv6 translation, give back IPv4. - geomyidae - A small C-based gopherd. Err bitreich.org 70 hgit clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ URL:git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ bitreich.org 70 1Log /scm/geomyidae/log.gph bitreich.org 70 1Files /scm/geomyidae/files.gph bitreich.org 70 1Refs /scm/geomyidae/refs.gph bitreich.org 70 1Tags /scm/geomyidae/tag bitreich.org 70 1README /scm/geomyidae/file/README.gph bitreich.org 70 1LICENSE /scm/geomyidae/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit f4e4537ed6597fecff177869993b0c334b257d64 /scm/geomyidae/commit/f4e4537ed6597fecff177869993b0c334b257d64.gph bitreich.org 70 1parent 67eb195e1924b652b193e6332c1ce8f00fd1f2c9 /scm/geomyidae/commit/67eb195e1924b652b193e6332c1ce8f00fd1f2c9.gph bitreich.org 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net bitreich.org 70 iDate: Fri, 26 Jan 2018 13:54:06 +0100 Err bitreich.org 70 i Err bitreich.org 70 iIn case of IPv4 to IPv6 translation, give back IPv4. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M main.c | 3 +++ Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 3 insertions(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/main.c b/main.c /scm/geomyidae/file/main.c.gph bitreich.org 70 i@@ -512,6 +512,9 @@ main(int argc, char *argv[]) Err bitreich.org 70 i sizeof(clienth), clientp, sizeof(clientp), Err bitreich.org 70 i NI_NUMERICHOST|NI_NUMERICSERV); Err bitreich.org 70 i Err bitreich.org 70 i+ if (!strncmp(clienth, "::ffff:", 7)) Err bitreich.org 70 i+ memmove(clienth, clienth+7, strlen(clienth)-6); Err bitreich.org 70 i+ Err bitreich.org 70 i if (loglvl & CONN) Err bitreich.org 70 i logentry(clienth, clientp, "-", "connected"); Err bitreich.org 70 i Err bitreich.org 70 .