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
1d6e8ec6
Commit
1d6e8ec6
authored
Jul 11, 2007
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix consider_all_xroutes.
parent
ba6e77ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
xroute.c
xroute.c
+2
-1
xroute.h
xroute.h
+1
-0
No files found.
xroute.c
View file @
1d6e8ec6
...
...
@@ -185,7 +185,8 @@ consider_all_xroutes(struct route *route)
int
i
;
for
(
i
=
0
;
i
<
numxroutes
;
i
++
)
{
if
(
xroutes
[
i
].
nexthop
==
route
->
nexthop
)
if
(
xroutes
[
i
].
gateway
==
route
->
dest
&&
xroutes
[
i
].
nexthop
==
route
->
nexthop
)
consider_route
(
route
);
}
}
...
...
xroute.h
View file @
1d6e8ec6
...
...
@@ -45,6 +45,7 @@ extern int xroute_hold_delay;
void
install_xroute
(
struct
xroute
*
xroute
);
void
uninstall_xroute
(
struct
xroute
*
xroute
);
void
consider_xroute
(
struct
xroute
*
xroute
);
void
consider_all_xroutes
(
struct
route
*
route
);
void
flush_xroute
(
struct
xroute
*
xroute
);
void
flush_neighbour_xroutes
(
struct
neighbour
*
neigh
);
void
retract_xroutes
(
struct
destination
*
gateway
,
struct
neighbour
*
nexthop
,
...
...
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