Skip to content

Commit

Permalink
bridge: convert flags in fbd entry into bitfields
Browse files Browse the repository at this point in the history
Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Dec 3, 2014
1 parent b7485f6 commit 93859b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/bridge/br_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ struct net_bridge_fdb_entry
unsigned long updated;
unsigned long used;
mac_addr addr;
unsigned char is_local;
unsigned char is_static;
unsigned char added_by_user;
unsigned char is_local:1,
is_static:1,
added_by_user:1;
__u16 vlan_id;
};

Expand Down

0 comments on commit 93859b1

Please sign in to comment.