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
0f2f1121
Commit
0f2f1121
authored
Apr 04, 2004
by
bellard
Browse files
tun-fd fix
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@700
c046a42c-6fe2-441c-8c8c-71466251a162
parent
4721c457
Changes
1
Hide whitespace changes
Inline
Side-by-side
vl.c
View file @
0f2f1121
...
...
@@ -1728,6 +1728,9 @@ int main(int argc, char **argv)
macaddr
[
4
]
=
0x34
;
macaddr
[
5
]
=
0x56
;
for
(
i
=
0
;
i
<
MAX_NICS
;
i
++
)
nd_table
[
i
].
fd
=
-
1
;
for
(;;)
{
c
=
getopt_long_only
(
argc
,
argv
,
"hm:d:n:sp:L:"
,
long_options
,
&
long_index
);
if
(
c
==
-
1
)
...
...
@@ -1934,7 +1937,6 @@ int main(int argc, char **argv)
/* init host network redirectors */
for
(
i
=
0
;
i
<
MAX_NICS
;
i
++
)
{
NetDriverState
*
nd
=
&
nd_table
[
i
];
nd
->
fd
=
-
1
;
/* init virtual mac address */
nd
->
macaddr
[
0
]
=
macaddr
[
0
];
nd
->
macaddr
[
1
]
=
macaddr
[
1
];
...
...
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