VirtualBox

Changeset 41138 in vbox


Ignore:
Timestamp:
May 3, 2012 3:15:44 PM (13 years ago)
Author:
vboxsync
Message:

Main/DHCPServerRunner: sanity check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/DHCPServerRunner.cpp

    r35368 r41138  
    104104        if (mOptionEnabled[i])
    105105        {
    106             const ARGDEF * pArgDef = getArgDef((DHCPCFG)i);
     106            const ARGDEF *pArgDef = getArgDef((DHCPCFG)i);
     107            if (!pArgDef)
     108                continue;
    107109            args[index++] = pArgDef->Name;      // e.g. "--network"
    108110
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette