On 04/19/2013 04:54 PM, Stephen Hemminger wrote:
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.
I did not change the output format. In fact, on second look I can pull this change out as it isn't needed. -vlad