Skip to content

Commit

Permalink
[SCTP]: Pass net-endian to ->seq_dump_addr()
Browse files Browse the repository at this point in the history
No actual modifications of method instances are needed -
they don't look at port numbers.  Switch callers...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent 2a6fd78 commit c604e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/sctp/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_commo
if (primary && af->cmp_addr(addr, primary)) {
seq_printf(seq, "*");
}
af->seq_dump_addr(seq, addr);
af->seq_dump_addr(seq, &laddr->a);
}
}

Expand All @@ -185,7 +185,7 @@ static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_associa
if (af->cmp_addr(addr, primary)) {
seq_printf(seq, "*");
}
af->seq_dump_addr(seq, addr);
af->seq_dump_addr(seq, &transport->ipaddr);
}
}

Expand Down

0 comments on commit c604e36

Please sign in to comment.