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
8d9e8803
Commit
8d9e8803
authored
Jun 28, 2007
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include multihop information in debugging message.
parent
737b7cee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
message.c
message.c
+4
-2
No files found.
message.c
View file @
8d9e8803
...
@@ -102,11 +102,13 @@ parse_packet(const unsigned char *from, struct network *net,
...
@@ -102,11 +102,13 @@ parse_packet(const unsigned char *from, struct network *net,
continue
;
continue
;
net
->
activity_time
=
now
.
tv_sec
;
net
->
activity_time
=
now
.
tv_sec
;
if
(
message
[
0
]
==
1
)
{
if
(
message
[
0
]
==
1
)
{
debugf
(
"Received request on %s from %s (%s) for %s.
\n
"
,
debugf
(
"Received request on %s from %s (%s) for %s "
"(%d hops for seqno %d).
\n
"
,
net
->
ifname
,
net
->
ifname
,
format_address
(
neigh
->
id
),
format_address
(
neigh
->
id
),
format_address
(
from
),
format_address
(
from
),
format_address
(
message
+
4
));
format_address
(
message
+
4
),
message
[
2
],
message
[
1
]);
if
(
memcmp
(
message
+
4
,
zeroes
,
16
)
==
0
)
{
if
(
memcmp
(
message
+
4
,
zeroes
,
16
)
==
0
)
{
/* If a neighbour is requesting a full route dump from us,
/* If a neighbour is requesting a full route dump from us,
we might as well send its txcost. */
we might as well send its txcost. */
...
...
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