Guillaume Varlet
09/24/2009 6:06 AM
post38623
|
Hello.
I have another problem with ifconfig while running my driver :
# ifconfig men0 192.168.123.123
It runs the following function :
error = ether_ioctl(ifp, cmd, data);
And retrun error 13 :
: SIOCAIFADDR: Permission denied
ifp 0x08153478 => Seems to be filled correctly
data 0x8144368 "\324C\024\b\344C\024\b\364C\024\bx4\025\b"
cmd 0x8090690c
It appends the FIRST TIME i'm calling the ifconfig utility, the second time I call the ifconfig with the same arguments,
it sets the address.
Any idea about this problem ?
Thank you.
Guillaume.
|
|
|