Changeset 50669 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Mar 4, 2014 12:51:03 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r50045 r50669 359 359 inet_aton("127.0.0.1", &loopback_addr); 360 360 361 if (!fUseHostResolver)362 {363 rc = slirpInitializeDnsSettings(pData);364 AssertRCReturn(rc, VINF_NAT_DNS);365 }366 367 361 rc = slirpTftpInit(pData); 368 362 AssertRCReturn(rc, VINF_NAT_DNS); … … 452 446 { 453 447 struct arp_cache_entry *ac; 448 449 if (link_up == 1) 450 return; 451 454 452 link_up = 1; 453 454 if (!pData->fUseHostResolverPermanent) 455 slirpInitializeDnsSettings(pData); 455 456 456 457 if (LIST_EMPTY(&pData->arp_cache)) … … 471 472 struct port_forward_rule *rule; 472 473 474 if (link_up == 0) 475 return; 476 477 slirpReleaseDnsSettings(pData); 478 473 479 while ((so = tcb.so_next) != &tcb) 474 480 { … … 508 514 509 515 slirp_link_down(pData); 510 slirpReleaseDnsSettings(pData);511 516 ftp_alias_unload(pData); 512 517 nbt_alias_unload(pData);
Note:
See TracChangeset
for help on using the changeset viewer.