bridge: Correctly encode addresses when dumping mdb entries
authorVlad Yasevich <vyasevic@redhat.com>
Tue, 18 Dec 2012 11:54:08 +0000 (11:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 20:50:06 +0000 (12:50 -0800)
commit09d7cf7d931c627b227decd080f4528d003ddbe6
treefb189e8c30586209c6cc254b4530515c8495c3ec
parent63233159fd4e596568f5f168ecb0879b61631d47
bridge: Correctly encode addresses when dumping mdb entries

When dumping mdb table, set the addresses the kernel returns
based on the address protocol type.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Acked-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c