Index: vl.c =================================================================== RCS file: /sources/qemu/qemu/vl.c,v retrieving revision 1.350 diff -u -b -B -r1.350 vl.c --- vl.c 21 Oct 2007 23:20:45 -0000 1.350 +++ vl.c 26 Oct 2007 15:07:02 -0000 @@ -8478,12 +8478,12 @@ main_loop(); quit_timers(); +#if !defined(_WIN32) /* close network clients */ for(vlan = first_vlan; vlan != NULL; vlan = vlan->next) { VLANClientState *vc; - for(vc = vlan->first_client; vc != NULL; vc = vc->next) -#if !defined(_WIN32) + for(vc = vlan->first_client; vc != NULL; vc = vc->next) { if (vc->fd_read == tap_receive) { char ifname[64]; TAPState *s = vc->opaque; @@ -8492,7 +8492,8 @@ s->down_script[0]) launch_script(s->down_script, ifname, s->fd); } -#endif } + } +#endif return 0; }