Based on Dirk's patch, I have installed the following modifications
to inetd. Passing the environment variables is enabled
by --environment option. The TCP.*HOST variables are set only if the
--resolve option has been specified.
Wonderful Sergey!
(setq nitpicker-mode 't)
Please don't do assignments inside an if-statement; it is one of those
things indent isn't intelligent enough to fix.
...
+ if (*p || (port = val) != val)
+ {
...
and
...
+ if ((host = gethostbyaddr ((char *) &sa_client.sin_addr,
+ sizeof (sa_client.sin_addr),
+ AF_INET)) == NULL)
...
_______________________________________________
Bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils