summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-09-14 13:40:36 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-09-14 13:40:36 +0000
commit592cecb5eaa5757f8cfc557492fee691ee046a52 (patch)
tree7475802a129c13a6ea6a97d6047337200a8809a7 /regress
parent15a3e8853859cbe52bda8c7a38613274f7e374df (diff)
doing numeric lookups without specifying an ai_socktype fails no longer.
Update the expected answers accordingly. Found by david, OK fgsch
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libc/getaddrinfo/answer10
1 files changed, 8 insertions, 2 deletions
diff --git a/regress/lib/libc/getaddrinfo/answer b/regress/lib/libc/getaddrinfo/answer
index c99048adcb7..778fc64baab 100644
--- a/regress/lib/libc/getaddrinfo/answer
+++ b/regress/lib/libc/getaddrinfo/answer
@@ -44,7 +44,10 @@ arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp
ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 69
ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 69
arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80
-service not supported for ai_socktype
+ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 80
+ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 80
+ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 80
+ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 80
arg: flags 0x3 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http
ai1: flags 0x3 family 24 socktype 1 protocol 6 addrlen 28 host :: serv 80
ai2: flags 0x3 family 2 socktype 1 protocol 6 addrlen 16 host 0.0.0.0 serv 80
@@ -57,7 +60,10 @@ arg: flags 0x3 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp
ai1: flags 0x3 family 24 socktype 2 protocol 17 addrlen 28 host :: serv 69
ai2: flags 0x3 family 2 socktype 2 protocol 17 addrlen 16 host 0.0.0.0 serv 69
arg: flags 0x3 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80
-service not supported for ai_socktype
+ai1: flags 0x3 family 24 socktype 2 protocol 17 addrlen 28 host :: serv 80
+ai2: flags 0x3 family 24 socktype 1 protocol 6 addrlen 28 host :: serv 80
+ai3: flags 0x3 family 2 socktype 2 protocol 17 addrlen 16 host 0.0.0.0 serv 80
+ai4: flags 0x3 family 2 socktype 1 protocol 6 addrlen 16 host 0.0.0.0 serv 80
arg: flags 0x2 family 0 socktype 1 protocol 0 addrlen 0 host (empty) serv 80
ai1: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 80
ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 80