Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
93591383
Commit
93591383
authored
Oct 31, 2012
by
Nick Mathewson
🎨
Browse files
When asking for a specific address type, others aren't acceptable
parent
d2768947
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/connection_edge.c
View file @
93591383
...
...
@@ -1168,6 +1168,10 @@ connection_ap_handshake_rewrite_and_attach(entry_connection_t *conn,
"no IPv4 traffic supported."
);
connection_mark_unattached_ap
(
conn
,
END_STREAM_REASON_ENTRYPOLICY
);
return
-
1
;
}
else
if
(
family
==
AF_INET6
)
{
conn
->
ipv4_traffic_ok
=
0
;
}
else
if
(
family
==
AF_INET
)
{
conn
->
ipv6_traffic_ok
=
0
;
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment