|
16 | 16 | * and Technology (RIST). All rights reserved.
|
17 | 17 | * Copyright (c) 2015-2016 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"
|
@@ -846,11 +847,13 @@ void mca_btl_tcp_proc_accept(mca_btl_tcp_proc_t* btl_proc, struct sockaddr* addr
|
846 | 847 | len = 1024 - strlen(addr_str);
|
847 | 848 | }
|
848 | 849 | }
|
849 |
| - opal_output(0, "btl: tcp: Incoming connection from %s does not match known addresses for peer %s [hostname=%s addr=%s]. Drop !\n", |
850 |
| - opal_net_get_hostname((struct sockaddr*)addr), |
851 |
| - OPAL_NAME_PRINT(btl_proc->proc_opal->proc_name), |
852 |
| - btl_proc->proc_opal->proc_hostname, |
853 |
| - addr_str); |
| 850 | + opal_show_help("help-mpi-btl-tcp.txt", "dropped inbound connection", |
| 851 | + true, opal_process_info.nodename, |
| 852 | + getpid(), |
| 853 | + btl_proc->proc_opal->proc_hostname, |
| 854 | + OPAL_NAME_PRINT(btl_proc->proc_opal->proc_name), |
| 855 | + opal_net_get_hostname((struct sockaddr*)addr), |
| 856 | + addr_str); |
854 | 857 | free(addr_str);
|
855 | 858 | }
|
856 | 859 | OPAL_THREAD_UNLOCK(&btl_proc->proc_lock);
|
|
0 commit comments