summaryrefslogtreecommitdiff
path: root/src/VBox/Main/xml/Settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Main/xml/Settings.cpp')
-rw-r--r--src/VBox/Main/xml/Settings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/VBox/Main/xml/Settings.cpp b/src/VBox/Main/xml/Settings.cpp
index 4fe0af5d9..796a01b72 100644
--- a/src/VBox/Main/xml/Settings.cpp
+++ b/src/VBox/Main/xml/Settings.cpp
@@ -1,4 +1,4 @@
-/* $Id: Settings.cpp 37927 2011-07-13 15:48:41Z vboxsync $ */
+/* $Id: Settings.cpp 38100 2011-07-21 14:07:48Z vboxsync $ */
/** @file
* Settings File Manipulation API.
*
@@ -2015,6 +2015,7 @@ void MachineConfigFile::readAttachedNetworkMode(const xml::ElementNode &elmMode,
{
enmAttachmentType = NetworkAttachmentType_NAT;
+ elmMode.getAttributeValue("network", nic.nat.strNetwork);
elmMode.getAttributeValue("hostip", nic.nat.strBindIP);
elmMode.getAttributeValue("mtu", nic.nat.u32Mtu);
elmMode.getAttributeValue("sockrcv", nic.nat.u32SockRcv);