Revision 7d294b61 vl.c
b/vl.c | ||
---|---|---|
8478 | 8478 |
main_loop(); |
8479 | 8479 |
quit_timers(); |
8480 | 8480 |
|
8481 |
#if !defined(_WIN32) |
|
8481 | 8482 |
/* close network clients */ |
8482 | 8483 |
for(vlan = first_vlan; vlan != NULL; vlan = vlan->next) { |
8483 | 8484 |
VLANClientState *vc; |
8484 | 8485 |
|
8485 |
for(vc = vlan->first_client; vc != NULL; vc = vc->next) |
|
8486 |
#if !defined(_WIN32) |
|
8486 |
for(vc = vlan->first_client; vc != NULL; vc = vc->next) { |
|
8487 | 8487 |
if (vc->fd_read == tap_receive) { |
8488 | 8488 |
char ifname[64]; |
8489 | 8489 |
TAPState *s = vc->opaque; |
... | ... | |
8492 | 8492 |
s->down_script[0]) |
8493 | 8493 |
launch_script(s->down_script, ifname, s->fd); |
8494 | 8494 |
} |
8495 |
#endif |
|
8496 | 8495 |
} |
8496 |
} |
|
8497 |
#endif |
|
8497 | 8498 |
return 0; |
8498 | 8499 |
} |
Also available in: Unified diff