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
fbd39187
Commit
fbd39187
authored
Mar 14, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be noisy when we notice an IPv4 address change.
parent
c35b227c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
network.c
network.c
+8
-2
No files found.
network.c
View file @
fbd39187
...
...
@@ -270,8 +270,10 @@ network_up(struct network *net, int up)
}
}
check_network_ipv4
(
net
);
update_network_metric
(
net
);
rc
=
check_network_ipv4
(
net
);
if
(
up
&&
rc
>
0
)
send_update
(
net
,
0
,
NULL
,
0
);
return
1
;
}
...
...
@@ -300,7 +302,11 @@ check_networks(void)
network_up
(
&
nets
[
i
],
rc
>
0
);
}
check_network_ipv4
(
&
nets
[
i
]);
rc
=
check_network_ipv4
(
&
nets
[
i
]);
if
(
rc
>
0
)
{
send_request
(
&
nets
[
i
],
NULL
,
0
,
0
,
0
,
0
);
send_update
(
&
nets
[
i
],
0
,
NULL
,
0
);
}
}
if
(
ifindex_changed
)
...
...
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