Changeset 28787 in vbox for trunk/src/VBox/Main/xml/Settings.cpp
- Timestamp:
- Apr 27, 2010 6:36:48 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60675
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r28764 r28787 1880 1880 pelmDNS->getAttributeValue("use-host-resolver", nic.nat.fDnsUseHostResolver); 1881 1881 } 1882 const xml::ElementNode *pelmAlias; 1883 if ((pelmAlias = elmMode.findChildElement("Alias"))) 1884 { 1885 pelmAlias->getAttributeValue("logging", nic.nat.fAliasLog); 1886 pelmAlias->getAttributeValue("proxy-only", nic.nat.fAliasProxyOnly); 1887 pelmAlias->getAttributeValue("use-same-ports", nic.nat.fAliasUseSamePorts); 1888 } 1882 1889 const xml::ElementNode *pelmTFTP; 1883 1890 if ((pelmTFTP = elmMode.findChildElement("TFTP"))) … … 3606 3613 pelmDNS->setAttribute("use-proxy", nic.nat.fDnsProxy); 3607 3614 pelmDNS->setAttribute("use-host-resolver", nic.nat.fDnsUseHostResolver); 3615 3616 xml::ElementNode *pelmAlias; 3617 pelmAlias = pelmNAT->createChild("Alias"); 3618 pelmAlias->setAttribute("logging", nic.nat.fAliasLog); 3619 pelmAlias->setAttribute("proxy-only", nic.nat.fAliasProxyOnly); 3620 pelmAlias->setAttribute("use-same-ports", nic.nat.fAliasUseSamePorts); 3621 3608 3622 if ( nic.nat.strTftpPrefix.length() 3609 3623 || nic.nat.strTftpBootFile.length() … … 4021 4035 || netit->nat.fDnsProxy 4022 4036 || netit->nat.fDnsUseHostResolver 4037 || !netit->nat.fAliasLog 4038 || !netit->nat.fAliasProxyOnly 4039 || !netit->nat.fAliasUseSamePorts 4023 4040 || netit->nat.strTftpPrefix.length() 4024 4041 || netit->nat.strTftpBootFile.length()
Note:
See TracChangeset
for help on using the changeset viewer.