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
735092ee
Commit
735092ee
authored
13 years ago
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move debugging message around.
parent
3a9b62d2
master
bgp
dev
install-src-prefix
next
rebase-2022
v1.12.1-nxd3
v1.12.1-nxd2
v1.12.1-nxd1
v1.8.4-nxd1
v1.6.2-nxd2
v1.6.2-nxd1
v1.6.0-nxd1
v1.6-git0.8950d3b.nxd1
v1.5.1-nxd3
v1.5.1-nxd2
v1.5.1-nxd1
v1.5.0-nxd1
hmac-nxd3
hmac-nxd2
hmac-nxd1
ctl-proto
babelz-20110804
babelz-20110316
babelz-20110224
babeld-1.12.1
babeld-1.8.4
babeld-1.8.3
babeld-1.8.2
babeld-1.8.1
babeld-1.8.0
babeld-1.7.1
babeld-1.7.0
babeld-1.6.3
babeld-1.6.2
babeld-1.6.1
babeld-1.6.0
babeld-1.5.1
babeld-1.5.0
babeld-1.4.3
babeld-1.4.2
babeld-1.4.1
babeld-1.4.0
babeld-1.3.8
babeld-1.3.7
babeld-1.3.6
babeld-1.3.5
babeld-1.3.4
babeld-1.3.3
babeld-1.3.1
babeld-1.3.0
babeld-1.2.1
babeld-1.2.0
babeld-1.1.99.1
babeld-1.1.99.0
RTA_PREFSRC.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
babeld.c
babeld.c
+0
-1
network.c
network.c
+8
-0
No files found.
babeld.c
View file @
735092ee
...
...
@@ -359,7 +359,6 @@ main(int argc, char **argv)
}
for
(
i
=
optind
;
i
<
argc
;
i
++
)
{
debugf
(
"Adding network %s.
\n
"
,
argv
[
i
]);
vrc
=
add_network
(
argv
[
i
],
NULL
);
if
(
vrc
==
NULL
)
goto
fail
;
...
...
This diff is collapsed.
Click to expand it.
network.c
View file @
735092ee
...
...
@@ -85,6 +85,7 @@ add_network(char *ifname, struct network_conf *conf)
networks
=
net
;
else
last_network
()
->
next
=
net
;
return
net
;
}
...
...
@@ -391,6 +392,13 @@ network_up(struct network *net, int up)
check_network_channel
(
net
);
update_network_metric
(
net
);
rc
=
check_network_ipv4
(
net
);
debugf
(
"Upped network %s (%s, cost=%d%s).
\n
"
,
net
->
ifname
,
(
net
->
flags
&
NET_WIRED
)
?
"wired"
:
"wireless"
,
net
->
cost
,
net
->
ipv4
?
", IPv4"
:
""
);
if
(
up
&&
rc
>
0
)
send_update
(
net
,
0
,
NULL
,
0
);
...
...
This diff is collapsed.
Click to expand it.
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