freehoo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freehoo-devel] [PATCH: freehoo] wrong way of finding local ip


From: Anand Babu
Subject: Re: [Freehoo-devel] [PATCH: freehoo] wrong way of finding local ip
Date: Thu, 27 Jan 2005 12:55:29 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

,----[ Anand Avati <address@hidden> ]
| hi people,
|    first of all thank you for the great messenger :) i downloaded it
|    today and fell for it flat! but that was after a while..
| 
|    once again, thanks people for the wonderful piece of work :) i'm
|    really loving this!! i was satisfying myself with centericq.. but
|    this one kicks ass! just the one what i wanted!
`----
Messenger is something I use very often. Being a fan of GNU Emacs and
GNU Bash,  I wanted my messenger to work in console mode with
scheme/lisp like extensibility and readline interface. And hence
Freehoo. Thanks, your words are very motivating.

,----[ Anand Avati <address@hidden> ]
|    ok the patch is attached (pasted) below.. the logic with the
|    patch is to find the interface which has the default gateway, and
|    to get the ip address of that interface. i'm sure this logic is
|    not 100% fool proof either, and can cause problem with secondary
|    IP's added through iproute2 which isnt reflected in
|    ifconfig.. but i couldnt get a right way to do it either.. (dint
|    want to change popen("ifconfig ..") to popen("ip ..") for
|    cross-platform reasons, and there is no way ifconfig gets
|    secondary ip's added via iproute2) ..
`----
You are correct. I applied your patch to the CVS. Thanks.

-- 
Anand Babu
Free as in Freedom <www.gnu.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]