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
c40de851
Commit
c40de851
authored
Feb 02, 2011
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More tweaks to legacy heuristics.
parent
f7b8598b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
message.c
message.c
+1
-1
No files found.
message.c
View file @
c40de851
...
@@ -402,7 +402,7 @@ parse_packet(const unsigned char *from, struct network *net,
...
@@ -402,7 +402,7 @@ parse_packet(const unsigned char *from, struct network *net,
int
l
=
10
+
(
message
[
4
]
+
7
)
/
8
-
message
[
5
];
int
l
=
10
+
(
message
[
4
]
+
7
)
/
8
-
message
[
5
];
/* If the peer doesn't send diversity information,
/* If the peer doesn't send diversity information,
assume that routes with a small metric are non-interfering. */
assume that routes with a small metric are non-interfering. */
if
(
metric
<
=
192
)
{
if
(
metric
<
256
)
{
channels
[
0
]
=
0
;
channels
[
0
]
=
0
;
}
else
{
}
else
{
channels
[
0
]
=
NET_CHANNEL_INTERFERING
;
channels
[
0
]
=
NET_CHANNEL_INTERFERING
;
...
...
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