Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
ff94d9f5
Commit
ff94d9f5
authored
Jul 29, 2016
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak debug logging of non-specific routes.
parent
96134b42
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
babeld.c
babeld.c
+8
-4
No files found.
babeld.c
View file @
ff94d9f5
...
...
@@ -1074,10 +1074,12 @@ dump_route(FILE *out, struct babel_route *route)
snprintf
(
channels
+
j
,
100
-
j
,
")"
);
}
fprintf
(
out
,
"%s
from
%s metric %d (%d) refmetric %d id %s "
fprintf
(
out
,
"%s
%s
%s metric %d (%d) refmetric %d id %s "
"seqno %d%s age %d via %s neigh %s%s%s%s
\n
"
,
format_prefix
(
route
->
src
->
prefix
,
route
->
src
->
plen
),
format_prefix
(
route
->
src
->
src_prefix
,
route
->
src
->
src_plen
),
route
->
src
->
src_plen
>
0
?
" from "
:
""
,
route
->
src
->
src_plen
>
0
?
format_prefix
(
route
->
src
->
src_prefix
,
route
->
src
->
src_plen
)
:
""
,
route_metric
(
route
),
route_smoothed_metric
(
route
),
route
->
refmetric
,
format_eui64
(
route
->
src
->
id
),
(
int
)
route
->
seqno
,
...
...
@@ -1094,9 +1096,11 @@ dump_route(FILE *out, struct babel_route *route)
static
void
dump_xroute
(
FILE
*
out
,
struct
xroute
*
xroute
)
{
fprintf
(
out
,
"%s
from
%s metric %d (exported)
\n
"
,
fprintf
(
out
,
"%s
%s
%s metric %d (exported)
\n
"
,
format_prefix
(
xroute
->
prefix
,
xroute
->
plen
),
format_prefix
(
xroute
->
src_prefix
,
xroute
->
src_plen
),
xroute
->
src_plen
>
0
?
" from "
:
""
,
xroute
->
src_plen
>
0
?
format_prefix
(
xroute
->
src_prefix
,
xroute
->
src_plen
)
:
""
,
xroute
->
metric
);
}
...
...
Write
Preview
Markdown
is supported
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