On Mon, Apr 29, 2002 at 02:09:39PM -0500, Glover George wrote:
> Hi, I'm working on a little module here and was wondering what the BEST
> way to get an interface's current ip address by using it's name (i.e.,
> eth0) is.  

This is not related to netfilter, and especially not to netfilter development.

Try the [EMAIL PROTECTED] or [EMAIL PROTECTED] mailinglists.

If you want to do it portable, you should do it the same way like 'ifconfig',
which is by ioctl's.

-- 
Live long and prosper
- Harald Welte / [EMAIL PROTECTED]               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ 
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)

Reply via email to