[SCTP]: Pass net-endian to ->seq_dump_addr()

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>
This commit is contained in:
Al Viro 2006-11-20 17:04:59 -08:00 committed by David S. Miller
parent 2a6fd78ade
commit c604e368a4

View file

@ -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)) { if (primary && af->cmp_addr(addr, primary)) {
seq_printf(seq, "*"); seq_printf(seq, "*");
} }
af->seq_dump_addr(seq, addr); af->seq_dump_addr(seq, &laddr->a);
} }
} }
@ -185,7 +185,7 @@ static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_associa
if (af->cmp_addr(addr, primary)) { if (af->cmp_addr(addr, primary)) {
seq_printf(seq, "*"); seq_printf(seq, "*");
} }
af->seq_dump_addr(seq, addr); af->seq_dump_addr(seq, &transport->ipaddr);
} }
} }