On Thu, Mar 5, 2015 at 2:02 PM, sven falempin <sven.falem...@gmail.com> wrote: ... > AFAI Understand > > ./pfe.c: rt->rt_conf.flags &= ~(F_DOWN); > is completly useless
Hmm? Maybe I'm misunderstanding your, but that's the normal syntax for clearing bits (F_DOWN in this case) in a flag word: you mask the flag word against a word with everything set except the one you want to clear. I.e, this flags |= F_DOWN; sets the F_DOWN bit and flags &= ~F_DOWN; clears it. Philip Guenther