|
16 | 16 | * and Technology (RIST). All rights reserved. |
17 | 17 | * Copyright (c) 2015-2017 Los Alamos National Security, LLC. All rights |
18 | 18 | * reserved. |
19 | | - * Copyright (c) 2015 Cisco Systems, Inc. All rights reserved. |
| 19 | + * Copyright (c) 2015-2017 Cisco Systems, Inc. All rights reserved |
20 | 20 | * $COPYRIGHT$ |
21 | 21 | * |
22 | 22 | * Additional copyrights may follow |
|
41 | 41 | #include "opal/util/if.h" |
42 | 42 | #include "opal/util/net.h" |
43 | 43 | #include "opal/util/proc.h" |
| 44 | +#include "opal/util/show_help.h" |
44 | 45 |
|
45 | 46 | #include "btl_tcp.h" |
46 | 47 | #include "btl_tcp_proc.h" |
@@ -833,11 +834,13 @@ void mca_btl_tcp_proc_accept(mca_btl_tcp_proc_t* btl_proc, struct sockaddr* addr |
833 | 834 | len = 1024 - strlen(addr_str); |
834 | 835 | } |
835 | 836 | } |
836 | | - opal_output(0, "btl: tcp: Incoming connection from %s does not match known addresses for peer %s [hostname=%s addr=%s]. Drop !\n", |
837 | | - opal_net_get_hostname((struct sockaddr*)addr), |
838 | | - OPAL_NAME_PRINT(btl_proc->proc_opal->proc_name), |
839 | | - btl_proc->proc_opal->proc_hostname, |
840 | | - addr_str); |
| 837 | + opal_show_help("help-mpi-btl-tcp.txt", "dropped inbound connection", |
| 838 | + true, opal_process_info.nodename, |
| 839 | + getpid(), |
| 840 | + btl_proc->proc_opal->proc_hostname, |
| 841 | + OPAL_NAME_PRINT(btl_proc->proc_opal->proc_name), |
| 842 | + opal_net_get_hostname((struct sockaddr*)addr), |
| 843 | + addr_str); |
841 | 844 | free(addr_str); |
842 | 845 | } |
843 | 846 | OPAL_THREAD_UNLOCK(&btl_proc->proc_lock); |
|
0 commit comments