Re: ifconfig weirdness due to modification.
Re: ifconfig weirdness due to modification.
- Subject: Re: ifconfig weirdness due to modification.
- From: "Josh Wisenbaker" <email@hidden>
- Date: Thu, 14 Dec 2006 12:49:52 -0500 (EST)
- Importance: Normal
On Mon, December 11, 2006 6:36 pm, matt jaffa wrote:
> Hi,
>
> I am attempting to include some form of ifconfig.c in my own app. I
> compile
> it into a lib and then include it in my main code.
> When I call main with my args everything is fine the first time. But every
> time I call it afterwords when it trys to set the IP address
> of an interface it returns ENOMEM. It is working on the first call
> everytime
> no matter what I do, but the second call to it fails on setting
> the new ip address but everything else gets set correctly: e.x. broadcast,
> netmask etc.
>
> Why I am including ifconfig in my app is just for fun. Why it is having
> this
> weird behavior is probably cause I am doing this weird thing.
> Anyone possibly might know why this could be happening?
No idea, but Mac OS X is gonna stomp all over your ifconfig changes anyway
when configd feels like it.
<http://www.afp548.com/article.php?story=20041015131913324>
Josh
--
Josh Wisenbaker
U, U, D, D, L, R, L, R, B, A, Start for your server
http://www.afp548.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden