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
e795d3f8
Commit
e795d3f8
authored
Dec 15, 2015
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo -- ids are 8 octets, not 16.
parent
90f60f8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
interface.h
interface.h
+1
-1
message.c
message.c
+1
-1
No files found.
interface.h
View file @
e795d3f8
...
@@ -86,7 +86,7 @@ struct interface {
...
@@ -86,7 +86,7 @@ struct interface {
char
have_buffered_id
;
char
have_buffered_id
;
char
have_buffered_nh
;
char
have_buffered_nh
;
char
have_buffered_prefix
;
char
have_buffered_prefix
;
unsigned
char
buffered_id
[
16
];
unsigned
char
buffered_id
[
8
];
unsigned
char
buffered_nh
[
4
];
unsigned
char
buffered_nh
[
4
];
unsigned
char
buffered_prefix
[
16
];
unsigned
char
buffered_prefix
[
16
];
unsigned
char
*
sendbuf
;
unsigned
char
*
sendbuf
;
...
...
message.c
View file @
e795d3f8
...
@@ -1214,7 +1214,7 @@ really_send_update(struct interface *ifp,
...
@@ -1214,7 +1214,7 @@ really_send_update(struct interface *ifp,
accumulate_bytes
(
ifp
,
id
,
8
);
accumulate_bytes
(
ifp
,
id
,
8
);
end_message
(
ifp
,
MESSAGE_ROUTER_ID
,
10
);
end_message
(
ifp
,
MESSAGE_ROUTER_ID
,
10
);
}
}
memcpy
(
ifp
->
buffered_id
,
id
,
16
);
memcpy
(
ifp
->
buffered_id
,
id
,
8
);
ifp
->
have_buffered_id
=
1
;
ifp
->
have_buffered_id
=
1
;
}
}
...
...
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