diff options
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index ec4bbfc5e..0c1b8a056 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -1507,11 +1507,15 @@ tcp_plugin_address_pretty_printer (void *cls, const char *type, | |||
1507 | sb = &a4; | 1507 | sb = &a4; |
1508 | sbs = sizeof (a4); | 1508 | sbs = sizeof (a4); |
1509 | } | 1509 | } |
1510 | else if (0 == addrlen) | ||
1511 | { | ||
1512 | asc (asc_cls, "<inbound connection>"); | ||
1513 | asc (asc_cls, NULL); | ||
1514 | return; | ||
1515 | } | ||
1510 | else | 1516 | else |
1511 | { | 1517 | { |
1512 | /* invalid address */ | 1518 | /* invalid address */ |
1513 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, "tcp", | ||
1514 | "Invalid address to string request: plugin `%s', address length: %u bytes\n"); | ||
1515 | GNUNET_break_op (0); | 1519 | GNUNET_break_op (0); |
1516 | asc (asc_cls, NULL); | 1520 | asc (asc_cls, NULL); |
1517 | return; | 1521 | return; |