diff --git a/mbsebbs/mbnewusr.c b/mbsebbs/mbnewusr.c index 22521774..112e7779 100644 --- a/mbsebbs/mbnewusr.c +++ b/mbsebbs/mbnewusr.c @@ -119,6 +119,10 @@ int main(int argc, char **argv) if ((p = getenv("CALLER_ID")) != NULL) if (strncmp(p, "none", 4)) Syslog('+', "CALLER %s", p); + if ((p = getenv("REMOTEHOST")) != NULL) + Syslog('+', "REMOTEHOST %s", p); + if ((p = getenv("TERM")) != NULL) + Syslog('+', "TERM=%s", p); sUnixName[0] = '\0'; diff --git a/mbsebbs/mbsebbs.c b/mbsebbs/mbsebbs.c index a6b90d82..6bb42fc8 100644 --- a/mbsebbs/mbsebbs.c +++ b/mbsebbs/mbsebbs.c @@ -113,6 +113,10 @@ int main(int argc, char **argv) if ((p = getenv("CALLER_ID")) != NULL) if (strncmp(p, "none", 4)) Syslog('+', "CALLER_ID %s", p); + if ((p = getenv("REMOTEHOST")) != NULL) + Syslog('+', "REMOTEHOST %s", p); + if ((p = getenv("TERM")) != NULL) + Syslog('+', "TERM=%s", p); /* * Initialize