diff options
Diffstat (limited to 'fs/dlm/lowcomms-sctp.c')
-rw-r--r-- | fs/dlm/lowcomms-sctp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/dlm/lowcomms-sctp.c b/fs/dlm/lowcomms-sctp.c index 0940a805b3d7..5aeadadd8afd 100644 --- a/fs/dlm/lowcomms-sctp.c +++ b/fs/dlm/lowcomms-sctp.c | |||
@@ -635,7 +635,7 @@ static int add_bind_addr(struct sockaddr_storage *addr, int addr_len, int num) | |||
635 | 635 | ||
636 | if (result < 0) | 636 | if (result < 0) |
637 | log_print("Can't bind to port %d addr number %d", | 637 | log_print("Can't bind to port %d addr number %d", |
638 | dlm_config.tcp_port, num); | 638 | dlm_config.ci_tcp_port, num); |
639 | 639 | ||
640 | return result; | 640 | return result; |
641 | } | 641 | } |
@@ -711,7 +711,7 @@ static int init_sock(void) | |||
711 | /* Bind to all interfaces. */ | 711 | /* Bind to all interfaces. */ |
712 | for (i = 0; i < dlm_local_count; i++) { | 712 | for (i = 0; i < dlm_local_count; i++) { |
713 | memcpy(&localaddr, dlm_local_addr[i], sizeof(localaddr)); | 713 | memcpy(&localaddr, dlm_local_addr[i], sizeof(localaddr)); |
714 | make_sockaddr(&localaddr, dlm_config.tcp_port, &addr_len); | 714 | make_sockaddr(&localaddr, dlm_config.ci_tcp_port, &addr_len); |
715 | 715 | ||
716 | result = add_bind_addr(&localaddr, addr_len, num); | 716 | result = add_bind_addr(&localaddr, addr_len, num); |
717 | if (result) | 717 | if (result) |
@@ -863,7 +863,7 @@ static void initiate_association(int nodeid) | |||
863 | return; | 863 | return; |
864 | } | 864 | } |
865 | 865 | ||
866 | make_sockaddr(&rem_addr, dlm_config.tcp_port, &addrlen); | 866 | make_sockaddr(&rem_addr, dlm_config.ci_tcp_port, &addrlen); |
867 | 867 | ||
868 | outmessage.msg_name = &rem_addr; | 868 | outmessage.msg_name = &rem_addr; |
869 | outmessage.msg_namelen = addrlen; | 869 | outmessage.msg_namelen = addrlen; |