2002-01-30 Neal H Walfield <neal@cs.uml.edu>
authorMatt Kraai <kraai@debian.org>
Fri, 1 Feb 2002 16:54:00 +0000 (16:54 -0000)
committerMatt Kraai <kraai@debian.org>
Fri, 1 Feb 2002 16:54:00 +0000 (16:54 -0000)
commit369da77d5eb818e7a6f1e5e5829a4066e7785680
tree5806bf7476fc081bc78f75eaf57967d829b657af
parent20d739adf7fb1542015537dbdb969689118ceb02
2002-01-30  Neal H Walfield  <neal@cs.uml.edu>

        * networking/ping.c (hostname): Removed.

        [CONFIG_FEATURE_FANCY_PING] (noresp): Moved from here . . .
        [CONFIG_FEATURE_FANCY_PING] (ping:noresp): . . . to here.
        Use H->h_name, not hostname.
        [CONFIG_FEATURE_FANCY_PING] (ping): Do not copy H->h_name into
        hostname.
        Use H->h_name directly.

        [!CONFIG_FEATURE_FANCY_PING] (hostent): New global variable.
        [!CONFIG_FEATURE_FANCY_PING] (pingstats): Use hostent in favor
        of the now obsolete hostname global variable.
        [!CONFIG_FEATURE_FANCY_PING] (ping): Likewise.
        No need to copy H; use hostent instead.

        [!CONFIG_FEATURE_FANCY_PING] (ntransmitted, nreceived,
        nrepeats, pingcount, myid, options, tmax, tsum): Removed
        superfluous zero initializers.
networking/ping.c