projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6efd6a
)
net: remove the wrong comment in net_init_hubport()
author
Jason Wang
<jasowang@redhat.com>
Mon, 2 Feb 2015 07:06:36 +0000
(15:06 +0800)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Fri, 6 Feb 2015 14:06:44 +0000
(14:06 +0000)
Not only nic could be the one to peer.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-id:
1422860798
-17495-2-git-send-email-jasowang@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
net/hub.c
patch
|
blob
|
history
diff --git
a/net/hub.c
b/net/hub.c
index ef09d5f44d7bc0d20ce676016ae4ee1ba3c992f5..2b60ab9a6075af549688140ab46bb1b0fdf6810c 100644
(file)
--- a/
net/hub.c
+++ b/
net/hub.c
@@
-288,7
+288,6
@@
int net_init_hubport(const NetClientOptions *opts, const char *name,
assert(opts->kind == NET_CLIENT_OPTIONS_KIND_HUBPORT);
hubport = opts->hubport;
- /* Treat hub port like a backend, NIC must be the one to peer */
if (peer) {
return -EINVAL;
}