Age | Commit message (Collapse) | Author |
|
|
|
|
|
(patch by Gabriel L. Somlo <somlo@cmu.edu>)
|
|
not only in /cgi-bin/
|
|
|
|
commonalize some ping code.
|
|
|
|
|
|
|
|
|
|
|
|
erroneous close(0)
full_read -> safe_read (with explanation)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
no preceding prototype
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ping: shave off 60 bytes
|
|
|
|
|
|
- minor size- and readability tweaks while at it:
text data bss dec hex filename
2631 0 0 2631 a47 networking/libiproute/iprule.o.orig
2596 0 0 2596 a24 networking/libiproute/iprule.o
|
|
|
|
|
|
substring match on "delete" handles it ok. But we (I?)
forgot to renumber case labels...
|
|
|
|
hostname: small optimization
|
|
|
|
|
|
name resolution into IP or IPv6 only, otherwise
we take address family returned by host2sockaddr()
in lsa->sa.sa_family. IOW: "ping ::1" with do IPv6 ping,
"ping 127.0.0.1" will do IPv4 ping.
ping6 is aliased to "ping -6".
|
|
|
|
|
|
|
|
|