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
f074d209
Commit
f074d209
authored
Mar 16, 2015
by
Matthieu Boutier
Committed by
Juliusz Chroboczek
Mar 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug: always update last_src_prefix in flushupdates.
parent
15be85cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
message.c
message.c
+4
-8
No files found.
message.c
View file @
f074d209
...
...
@@ -1372,10 +1372,8 @@ flushupdates(struct interface *ifp)
NULL
,
0
);
last_prefix
=
xroute
->
prefix
;
last_plen
=
xroute
->
plen
;
if
(
xroute
->
src_plen
!=
0
)
{
last_src_prefix
=
xroute
->
src_prefix
;
last_src_plen
=
xroute
->
src_plen
;
}
last_src_prefix
=
xroute
->
src_prefix
;
last_src_plen
=
xroute
->
src_plen
;
}
else
if
(
route
)
{
unsigned
char
channels
[
DIVERSITY_HOPS
];
int
chlen
;
...
...
@@ -1421,10 +1419,8 @@ flushupdates(struct interface *ifp)
update_source
(
route
->
src
,
seqno
,
metric
);
last_prefix
=
route
->
src
->
prefix
;
last_plen
=
route
->
src
->
plen
;
if
(
route
->
src
->
src_plen
!=
0
)
{
last_src_prefix
=
route
->
src
->
src_prefix
;
last_src_plen
=
route
->
src
->
src_plen
;
}
last_src_prefix
=
route
->
src
->
src_prefix
;
last_src_plen
=
route
->
src
->
src_plen
;
}
else
{
/* There's no route for this prefix. This can happen shortly
after an xroute has been retracted, so send a retraction. */
...
...
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