At 21:20 18.09.2000, Matti Aarnio wrote:
On Mon, Sep 18, 2000 at 02:23:36PM -0400, ychoi@xxxxxxxxxx wrote:
> Hello! I got your address from the MAINTAINERS list. I am looking for the
> ping source code with -I (capitol I) option where I can specify a device
> name (not an interface address). On Redhat 6.2, I ran "man ping" and found
> out the option is available. I need to use the coding in one of my program.
> I will appreciate if you return to me.
$ rpm -qf /bin/ping
iputils-20000121-2
Ok, so you should look for iputils-*.src.rpm package for the source.
Do you have any idea of how to open *.src.rpm files ?
rpm -qip packet-*.src.rpm
Mostly extracted to /usr/src/distribution/SOURCES|SPECS
tarball + additional patches -> SOURCES
spec-file -> SPECS
Or take "mc" to dig into.
Peter
|