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
60025bc6
Commit
60025bc6
authored
Apr 04, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Random reformatting.
parent
6d5ecf0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
message.c
message.c
+3
-3
No files found.
message.c
View file @
60025bc6
...
@@ -304,14 +304,14 @@ handle_request(struct neighbour *neigh, const unsigned char *prefix,
...
@@ -304,14 +304,14 @@ handle_request(struct neighbour *neigh, const unsigned char *prefix,
return
;
return
;
}
}
/* Let's forward this request. */
/* Let's
try to
forward this request. */
if
(
route
&&
route
->
metric
<
INFINITY
)
if
(
route
&&
route
->
metric
<
INFINITY
)
successor
=
route
->
neigh
;
successor
=
route
->
neigh
;
if
(
!
successor
||
successor
==
neigh
)
{
if
(
!
successor
||
successor
==
neigh
)
{
struct
route
*
other_route
;
/* We were about to forward a request to its requestor. Try to
/* We're about to forward a request to the requestor. Try to
find a different neighbour to forward the request to. */
find a different neighbour to forward the request to. */
struct
route
*
other_route
;
other_route
=
find_best_route
(
prefix
,
plen
,
0
,
neigh
);
other_route
=
find_best_route
(
prefix
,
plen
,
0
,
neigh
);
if
(
other_route
&&
other_route
->
metric
<
INFINITY
)
if
(
other_route
&&
other_route
->
metric
<
INFINITY
)
...
...
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