Changeset 21394 in vbox for trunk/src/VBox/Main/DHCPServerRunner.cpp
- Timestamp:
- Jul 8, 2009 1:06:27 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49764
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DHCPServerRunner.cpp
r21393 r21394 97 97 for (unsigned i = 0; i < DHCPCFG_NOTOPT_MAXVAL; i++) 98 98 { 99 if ( mOptions[i].length())99 if (!mOptions[i].isNull()) 100 100 { 101 101 const ARGDEF * pArgDef = getArgDef((DHCPCFG)i); 102 args[index++] = pArgDef->Name; // e.g. "--network" 103 args[index++] = mOptions[i].raw(); // value 102 args[index++] = pArgDef->Name; 103 if (!mOptions[i].isEmpty()) 104 { 105 args[index++] = mOptions[i].raw(); 106 } 104 107 } 105 108 }
Note:
See TracChangeset
for help on using the changeset viewer.