qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/4] net: remove the wrong comment in net_init_hubpo


From: Jason Wang
Subject: [Qemu-devel] [PATCH 2/4] net: remove the wrong comment in net_init_hubport()
Date: Mon, 2 Feb 2015 15:06:36 +0800

Not only nic could be the one to peer.

Signed-off-by: Jason Wang <address@hidden>
---
 net/hub.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/hub.c b/net/hub.c
index ef09d5f..2b60ab9 100644
--- 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;
     }
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]