summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 17:04:59 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:26:31 -0800
commitc604e368a477ed1f7dd532605a8f1990d2b128ee (patch)
treee8b40087fb8e45683092da5be7c084e1605d95a2 /net/sctp
parent2a6fd78adec062f16f8662563115679e669efaca (diff)
[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>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/proc.c b/net/sctp/proc.c
index 47ccec565a2..bf0144ed3e3 100644
--- a/net/sctp/proc.c
+++ b/net/sctp/proc.c
@@ -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);
}
}
@@ -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);
}
}