Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
5534c8fb
Commit
5534c8fb
authored
Jun 12, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: arch-wrs: use wr0 by default, not eth0
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
9a87c333
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wrs-startup.c
arch-wrs/wrs-startup.c
+3
-3
No files found.
arch-wrs/wrs-startup.c
View file @
5534c8fb
...
...
@@ -68,10 +68,10 @@ int main(int argc, char **argv)
conf_fd
=
open
(
CONF_PATH
,
O_RDONLY
);
if
((
stat
(
CONF_PATH
,
&
conf_fs
)
<
0
)
||
(
conf_fd
<
0
))
{
pp_printf
(
"Warning: could not open %s, using
one-link
"
pp_printf
(
"Warning: could not open %s, using
wr0 only
"
"built-in config
\n
"
,
CONF_PATH
);
conf_buf
=
"link 0
\n
iface
eth0
"
;
conf_len
=
strlen
(
conf_buf
);
conf_buf
=
"link 0
\n
iface
wr0
\n
"
;
conf_len
=
strlen
(
conf_buf
)
-
1
;
}
else
{
int
r
=
0
,
next_r
;
conf_buf
=
calloc
(
1
,
conf_fs
.
st_size
+
2
);
...
...
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