On Mon, Jul 23, 2012 at 4:04 PM, Laszlo Ersek wrote:
> On 07/20/12 14:01, Stefan Hajnoczi wrote:
>
>> @@ -679,8 +680,10 @@ void do_info_usernet(Monitor *mon)
>> SlirpState *s;
>>
>> QTAILQ_FOREACH(s, &slirp_stacks, entry) {
>> +unsigned int id;
>> +bool got_vlan_id = net_
On 07/20/12 14:01, Stefan Hajnoczi wrote:
> @@ -679,8 +680,10 @@ void do_info_usernet(Monitor *mon)
> SlirpState *s;
>
> QTAILQ_FOREACH(s, &slirp_stacks, entry) {
> +unsigned int id;
> +bool got_vlan_id = net_hub_id_for_client(&s->nc, &id) == 0;
> monitor_print
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
net.c | 28 +---
net/hub.c | 24
net/hub.h |2 ++
net/slirp.c |7 +--
4 files changed, 32 insertions(+), 29 deletions(-)
diff --git a/net.c b/net.c
index f275