Skip to content
GitLab
Menu
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
3f2a21fd
Commit
3f2a21fd
authored
Mar 29, 1999
by
Martin Mareš
Browse files
Don't try to delete interface routes on CONFIG_AUTO_ROUTES systems.
parent
6c02d83f
Changes
1
Hide whitespace changes
Inline
Side-by-side
sysdep/unix/krt.c
View file @
3f2a21fd
...
...
@@ -178,7 +178,14 @@ krt_got_route(struct krt_proto *p, rte *e)
if
(
old
=
net
->
routes
)
{
if
(
!
krt_capable
(
old
))
verdict
=
krt_capable
(
e
)
?
KRF_DELETE
:
KRF_SEEN
;
{
#ifdef CONFIG_AUTO_ROUTES
if
(
old
->
attrs
->
source
==
RTS_DEVICE
)
verdict
=
KRF_SEEN
;
else
#endif
verdict
=
krt_capable
(
e
)
?
KRF_DELETE
:
KRF_SEEN
;
}
else
if
(
krt_uptodate
(
e
,
net
->
routes
))
verdict
=
KRF_SEEN
;
else
...
...
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