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
81e14e06
Commit
81e14e06
authored
Jul 13, 2007
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure all tests for void neighbours use FF.
parent
ff6c1d4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
babel.c
babel.c
+2
-2
message.c
message.c
+1
-1
No files found.
babel.c
View file @
81e14e06
...
@@ -633,7 +633,7 @@ dump_tables(FILE *out)
...
@@ -633,7 +633,7 @@ dump_tables(FILE *out)
}
}
for
(
i
=
0
;
i
<
numneighs
;
i
++
)
{
for
(
i
=
0
;
i
<
numneighs
;
i
++
)
{
if
(
neighs
[
i
].
id
[
0
]
==
0
)
if
(
neighs
[
i
].
id
[
0
]
==
0
xFF
)
continue
;
continue
;
fprintf
(
out
,
"Neighbour %s "
,
format_address
(
neighs
[
i
].
id
));
fprintf
(
out
,
"Neighbour %s "
,
format_address
(
neighs
[
i
].
id
));
fprintf
(
out
,
"at %s dev %s reach %04x rxcost %d txcost %d.
\n
"
,
fprintf
(
out
,
"at %s dev %s reach %04x rxcost %d txcost %d.
\n
"
,
...
@@ -739,7 +739,7 @@ expire_routes(void)
...
@@ -739,7 +739,7 @@ expire_routes(void)
debugf
(
"Expiring old routes.
\n
"
);
debugf
(
"Expiring old routes.
\n
"
);
for
(
i
=
0
;
i
<
numneighs
;
i
++
)
{
for
(
i
=
0
;
i
<
numneighs
;
i
++
)
{
if
(
neighs
[
i
].
id
[
0
]
==
0
)
if
(
neighs
[
i
].
id
[
0
]
==
0
xFF
)
continue
;
continue
;
check_neighbour
(
&
neighs
[
i
]);
check_neighbour
(
&
neighs
[
i
]);
/* No need to update_neighbour_metric -- update_route_metric below. */
/* No need to update_neighbour_metric -- update_route_metric below. */
...
...
message.c
View file @
81e14e06
...
@@ -719,7 +719,7 @@ send_txcost(struct neighbour *neigh, struct network *net)
...
@@ -719,7 +719,7 @@ send_txcost(struct neighbour *neigh, struct network *net)
schedule_flush
(
net
);
schedule_flush
(
net
);
}
else
{
}
else
{
for
(
i
=
0
;
i
<
numneighs
;
i
++
)
{
for
(
i
=
0
;
i
<
numneighs
;
i
++
)
{
if
(
neighs
[
i
].
id
[
0
]
!=
0
)
{
if
(
neighs
[
i
].
id
[
0
]
!=
0
xFF
)
{
if
(
neighs
[
i
].
network
==
net
)
if
(
neighs
[
i
].
network
==
net
)
send_txcost
(
&
neighs
[
i
],
net
);
send_txcost
(
&
neighs
[
i
],
net
);
}
}
...
...
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