ifconfig weirdness due to modification.
ifconfig weirdness due to modification.
- Subject: ifconfig weirdness due to modification.
- From: "matt jaffa" <email@hidden>
- Date: Mon, 11 Dec 2006 16:36:00 -0700
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?
Thanks,
Matt
_______________________________________________
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