VirtualBox

Changeset 23008 in vbox


Ignore:
Timestamp:
Sep 14, 2009 2:55:54 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52298
Message:

Main: increased the maximum length of host-only internal network names from 80 to INTNET_MAX_NETWORK_NAME (128) characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r22910 r23008  
    23302330            rc = CFGMR3InsertInteger(pCfg, "TrunkType", kIntNetTrunkType_NetFlt);
    23312331            RC_CHECK();
    2332             char szNetwork[80];
     2332            char szNetwork[INTNET_MAX_NETWORK_NAME];
    23332333            RTStrPrintf(szNetwork, sizeof(szNetwork), "HostInterfaceNetworking-%s", pszHifName);
    23342334            rc = CFGMR3InsertString(pCfg, "Network", szNetwork);                    RC_CHECK();
     
    25282528            }
    25292529
    2530             char szNetwork[80];
     2530            char szNetwork[INTNET_MAX_NETWORK_NAME];
    25312531            RTStrPrintf(szNetwork, sizeof(szNetwork), "HostInterfaceNetworking-%s", pszHifName);
    25322532
Note: See TracChangeset for help on using the changeset viewer.

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