projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: disable: match app event by name
[lttng-tools.git]
/
src
/
common
/
uri.c
diff --git
a/src/common/uri.c
b/src/common/uri.c
index 712339a5fded2efce62d2475f00282e63c061534..668e617d8b3fda5ea10b70e71878cd7d8ad4af99 100644
(file)
--- a/
src/common/uri.c
+++ b/
src/common/uri.c
@@
-16,6
+16,7
@@
*/
#define _GNU_SOURCE
*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <assert.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <assert.h>
#include <arpa/inet.h>
#include <netdb.h>
@@
-201,7
+202,7
@@
int uri_to_str_url(struct lttng_uri *uri, char *dst, size_t size)
} else {
ipver = (uri->dtype == LTTNG_DST_IPV4) ? 4 : 6;
addr = (ipver == 4) ? uri->dst.ipv4 : uri->dst.ipv6;
} else {
ipver = (uri->dtype == LTTNG_DST_IPV4) ? 4 : 6;
addr = (ipver == 4) ? uri->dst.ipv4 : uri->dst.ipv6;
- (void) snprintf(proto, sizeof(proto), "
net
%d", ipver);
+ (void) snprintf(proto, sizeof(proto), "
tcp
%d", ipver);
(void) snprintf(port, sizeof(port), ":%d", uri->port);
}
(void) snprintf(port, sizeof(port), ":%d", uri->port);
}
This page took
0.038147 seconds
and
5
git commands to generate.