VirtualBox

Ignore:
Timestamp:
Jul 15, 2019 12:36:08 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132144
Message:

Main: s/DHCPOptionEncoding_Legacy/DHCPOptionEncoding_Normal/g as 'Legacy' does not seem a good fit for the more userfriendly value encoding. bugref:9288

Location:
trunk/src/VBox/NetworkServices/Dhcpd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/Dhcpd/Config.cpp

    r79761 r79778  
    709709
    710710    /* The opional 'encoding' attribute: */
    711     uint32_t u32Enc = 0;            /* XXX: DhcpOptEncoding_Legacy */
     711    uint32_t u32Enc = 0;            /* XXX: DHCPOptionEncoding_Normal */
    712712    const char *pszEncoding;
    713713    if (pElmOption->getAttributeValue("encoding", &pszEncoding))
     
    719719        switch (u32Enc)
    720720        {
    721             case 0:                 /* XXX: DhcpOptEncoding_Legacy */
    722             case 1:                 /* XXX: DhcpOptEncoding_Hex */
     721            case 0:                 /* XXX: DHCPOptionEncoding_Normal */
     722            case 1:                 /* XXX: DHCPOptionEncoding_Hex */
    723723                break;
    724724            default:
  • trunk/src/VBox/NetworkServices/Dhcpd/DhcpOptions.cpp

    r79777 r79778  
    293293    switch (aEnc)
    294294    {
    295         case 0: /* DhcpOptEncoding_Legacy */
     295        case 0: /* DHCPOptionEncoding_Normal */
    296296            switch (aOptCode)
    297297            {
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