aboutsummaryrefslogtreecommitdiffstats
path: root/src/hcidump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hcidump.c')
-rw-r--r--src/hcidump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hcidump.c b/src/hcidump.c
index 6d745e0..c133691 100644
--- a/src/hcidump.c
+++ b/src/hcidump.c
@@ -751,6 +751,7 @@ static int wait_connection(char *addr, char *port)
memset(&hints, 0, sizeof (hints));
hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG;
hints.ai_socktype = SOCK_STREAM;
+ hints.ai_protocol = IPPROTO_TCP;
err = getaddrinfo(dump_addr, dump_port, &hints, &ai);
if (err < 0) {