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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!