Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
455c13dc
Commit
455c13dc
authored
Dec 29, 2020
by
James Lu
Committed by
Ondřej Zajíček
Dec 29, 2020
Browse files
Nest: Read Babel metric as IGP metric
(Minor syntactic changes by committer)
parent
ea3c6c1a
Pipeline
#74110
passed with stages
in 15 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nest/rt-table.c
View file @
455c13dc
...
...
@@ -2878,6 +2878,11 @@ rt_get_igp_metric(rte *rt)
}
#endif
#ifdef CONFIG_BABEL
if
(
a
->
source
==
RTS_BABEL
)
return
rt
->
u
.
babel
.
metric
;
#endif
if
(
a
->
source
==
RTS_DEVICE
)
return
0
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment