summaryrefslogtreecommitdiffstats
path: root/net/sctp/bind_addr.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-21 02:21:44 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:26:58 +0100
commit6244be4e063075f6077f05e70f8fa1bf7f4a968e (patch)
tree618083b6a1fe5cee3e46d3e75746d81c6ad2d39e /net/sctp/bind_addr.c
parent[SCTP]: ->source_h is not used anymore. (diff)
downloadlinux-6244be4e063075f6077f05e70f8fa1bf7f4a968e.tar.xz
linux-6244be4e063075f6077f05e70f8fa1bf7f4a968e.zip
[SCTP]: Trivial parts of a_h -> a switch.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/bind_addr.c')
-rw-r--r--net/sctp/bind_addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/bind_addr.c b/net/sctp/bind_addr.c
index 50f3697625fd..f201df66180d 100644
--- a/net/sctp/bind_addr.c
+++ b/net/sctp/bind_addr.c
@@ -239,8 +239,8 @@ union sctp_params sctp_bind_addrs_to_raw(const struct sctp_bind_addr *bp,
list_for_each(pos, &bp->address_list) {
addr = list_entry(pos, struct sctp_sockaddr_entry, list);
- af = sctp_get_af_specific(addr->a_h.v4.sin_family);
- len = af->to_addr_param(&addr->a_h, &rawaddr);
+ af = sctp_get_af_specific(addr->a.v4.sin_family);
+ len = af->to_addr_param(&addr->a, &rawaddr);
memcpy(addrparms.v, &rawaddr, len);
addrparms.v += len;
addrparms_len += len;