Hi,
Ifconfig says:
...
ppp0 Link encap:Point-to-Point Protocol
inet addr:200.57.201.43 P-t-P:200.57.219.18
Mask:255.255.255.255
...
I want that inet addr (200.57.201.43) in a program and I prefer not to
run the ifconfig command from it and grep it.
Does anyone know where else in the system that information resides?
I installed the net-tools source and looking at ifconfig.c it's not
immediately obvious.
Hugo
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org