equal
deleted
inserted
replaced
510 static int ac6_seq_show(struct seq_file *seq, void *v) |
510 static int ac6_seq_show(struct seq_file *seq, void *v) |
511 { |
511 { |
512 struct ifacaddr6 *im = (struct ifacaddr6 *)v; |
512 struct ifacaddr6 *im = (struct ifacaddr6 *)v; |
513 struct ac6_iter_state *state = ac6_seq_private(seq); |
513 struct ac6_iter_state *state = ac6_seq_private(seq); |
514 |
514 |
515 seq_printf(seq, |
515 seq_printf(seq, "%-4d %-15s %pi6 %5d\n", |
516 "%-4d %-15s " NIP6_SEQFMT " %5d\n", |
|
517 state->dev->ifindex, state->dev->name, |
516 state->dev->ifindex, state->dev->name, |
518 NIP6(im->aca_addr), |
517 &im->aca_addr, im->aca_users); |
519 im->aca_users); |
|
520 return 0; |
518 return 0; |
521 } |
519 } |
522 |
520 |
523 static const struct seq_operations ac6_seq_ops = { |
521 static const struct seq_operations ac6_seq_ops = { |
524 .start = ac6_seq_start, |
522 .start = ac6_seq_start, |