Search Results

Search: Posts Made By: Corona688
Forum: Programming 06-15-2010
4,918
Posted By Corona688
wrq.ifr_flags |= (-IFF_UP); If this is a...
wrq.ifr_flags |= (-IFF_UP); If this is a bitfield, this won't turn off the IFF_UP flag -- it will turn on nearly every possible flag except IFF_UP. Try:

wrq.ifr_flags &= ~IFF_UP;
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 11:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy