diff options
Diffstat (limited to 'drivers/net/pppoe.c')
-rw-r--r-- | drivers/net/pppoe.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c index 2f130e06b6dc..ba2eb04aac9f 100644 --- a/drivers/net/pppoe.c +++ b/drivers/net/pppoe.c | |||
@@ -955,6 +955,7 @@ static int pppoe_seq_show(struct seq_file *seq, void *v) | |||
955 | { | 955 | { |
956 | struct pppox_sock *po; | 956 | struct pppox_sock *po; |
957 | char *dev_name; | 957 | char *dev_name; |
958 | DECLARE_MAC_BUF(mac); | ||
958 | 959 | ||
959 | if (v == SEQ_START_TOKEN) { | 960 | if (v == SEQ_START_TOKEN) { |
960 | seq_puts(seq, "Id Address Device\n"); | 961 | seq_puts(seq, "Id Address Device\n"); |
@@ -964,11 +965,8 @@ static int pppoe_seq_show(struct seq_file *seq, void *v) | |||
964 | po = v; | 965 | po = v; |
965 | dev_name = po->pppoe_pa.dev; | 966 | dev_name = po->pppoe_pa.dev; |
966 | 967 | ||
967 | seq_printf(seq, "%08X %02X:%02X:%02X:%02X:%02X:%02X %8s\n", | 968 | seq_printf(seq, "%08X %s %8s\n", |
968 | po->pppoe_pa.sid, | 969 | po->pppoe_pa.sid, print_mac(mac, po->pppoe_pa.remote), dev_name); |
969 | po->pppoe_pa.remote[0], po->pppoe_pa.remote[1], | ||
970 | po->pppoe_pa.remote[2], po->pppoe_pa.remote[3], | ||
971 | po->pppoe_pa.remote[4], po->pppoe_pa.remote[5], dev_name); | ||
972 | out: | 970 | out: |
973 | return 0; | 971 | return 0; |
974 | } | 972 | } |