From: John P. Looney (john at domain antefacto.com)
Date: Tue 22 May 2001 - 12:17:43 IST
On Mon, May 21, 2001 at 08:51:28PM +0100, Dave Airlie mentioned:
> > ifreqp->ifr_flags |=3D IFF_UP;
> > result =3D ioctl(skfd,SIOCSIFFLAGS, ifreqp);
> did you do an ioctl to get the current value? and then or in the IFF_UP..
> otherwise the ifr_flags is uninited...
I did. But it seems that the device re-reads all flags, instead of doing
a diff, and seeing what needs to be changed. But, I can't see any other
way of doing it.
-- When I say 'free', I mean 'free': free from bond, of chain or command:=20 to go where you will, even to Mordor, Saruman, if you desire. "=20 -- Gandalf, paraphrasing the choice between Free and Non-free software
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:25 GMT