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
0f2d7725
Commit
0f2d7725
authored
Feb 19, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More checking for down networks.
parent
313934b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
message.c
message.c
+4
-1
No files found.
message.c
View file @
0f2d7725
...
...
@@ -402,7 +402,7 @@ send_message(struct network *net,
unsigned
short
seqno
,
unsigned
short
metric
,
const
unsigned
char
*
address
)
{
if
(
net
->
bufsize
==
0
)
if
(
!
net
->
up
)
return
;
start_message
(
net
,
24
);
...
...
@@ -498,6 +498,9 @@ send_unicast_packet(struct neighbour *neigh, unsigned char *buf, int buflen)
struct
sockaddr_in6
sin6
;
int
rc
;
if
(
!
neigh
->
network
->
up
)
return
;
if
(
check_bucket
(
neigh
->
network
))
{
memset
(
&
sin6
,
0
,
sizeof
(
sin6
));
sin6
.
sin6_family
=
AF_INET6
;
...
...
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