Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sergi
Tor
Commits
ec5f4f3c
Commit
ec5f4f3c
authored
5 years ago
by
teor
Browse files
Options
Downloads
Patches
Plain Diff
relay/circuitbuild: Report IPv6 addresses in a debug log
Part of 33817.
parent
f8f688b3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/feature/relay/circuitbuild_relay.c
+7
-3
7 additions, 3 deletions
src/feature/relay/circuitbuild_relay.c
with
7 additions
and
3 deletions
src/feature/relay/circuitbuild_relay.c
+
7
−
3
View file @
ec5f4f3c
...
...
@@ -337,9 +337,13 @@ circuit_extend(struct cell_t *cell, struct circuit_t *circ)
&
should_launch
);
if
(
!
n_chan
)
{
log_debug
(
LD_CIRC
|
LD_OR
,
"Next router (%s): %s."
,
fmt_addrport
(
&
ec
.
orport_ipv4
.
addr
,
ec
.
orport_ipv4
.
port
),
msg
?
msg
:
"????"
);
/* We can't use fmt_addr*() twice in the same function call,
* because it uses a static buffer. */
log_debug
(
LD_CIRC
|
LD_OR
,
"Next router IPv4 (%s): %s."
,
fmt_addrport_ap
(
&
ec
.
orport_ipv4
),
msg
?
msg
:
"????"
);
log_debug
(
LD_CIRC
|
LD_OR
,
"Next router IPv6 (%s)."
,
fmt_addrport_ap
(
&
ec
.
orport_ipv6
));
circuit_open_connection_for_extend
(
&
ec
,
circ
,
should_launch
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment