On Fri, 19 Apr 2013 16:52:46 -0400 Vlad Yasevich <vyasevic@xxxxxxxxxx> wrote: > > +static ssize_t show_flag(struct net_bridge_port *p, char *buf, > + unsigned long mask) > +{ > + return sprintf(buf, "%d\n", !!(p->flags & mask)); > +} Flags are bit, show in hex please.