From ebfc59f8685e6cc23a5f916452fe877d4c59305a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 28 Jul 2007 11:27:15 +0000 Subject: [PATCH] hcidump: Force TCP as protocol --- tools/hcidump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/hcidump.c b/tools/hcidump.c index 07bf9ce93..8ed7ff723 100644 --- a/tools/hcidump.c +++ b/tools/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) { -- 2.47.3