Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xing Lin
qemu
Commits
bf8c5342
Commit
bf8c5342
authored
Jan 09, 2007
by
bellard
Browse files
ifname arg fix
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@2312
c046a42c-6fe2-441c-8c8c-71466251a162
parent
01781963
Changes
1
Hide whitespace changes
Inline
Side-by-side
vl.c
View file @
bf8c5342
...
...
@@ -3886,7 +3886,9 @@ static int net_client_init(const char *str)
if
(
net_tap_fd_init
(
vlan
,
fd
))
ret
=
0
;
}
else
{
get_param_value
(
ifname
,
sizeof
(
ifname
),
"ifname"
,
p
);
if
(
get_param_value
(
ifname
,
sizeof
(
ifname
),
"ifname"
,
p
)
<=
0
)
{
ifname
[
0
]
=
'\0'
;
}
if
(
get_param_value
(
setup_script
,
sizeof
(
setup_script
),
"script"
,
p
)
==
0
)
{
pstrcpy
(
setup_script
,
sizeof
(
setup_script
),
DEFAULT_NETWORK_SCRIPT
);
}
...
...
Write
Preview
Supports
Markdown
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