VirtualBox

Ignore:
Timestamp:
Jul 4, 2019 8:01:58 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131793
Message:

Dhcpd: Eliminated use of std::string (probably my mistake in the original code). Various other cleanups. bugref:9288

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/Dhcpd/DhcpMessage.h

    r76576 r79514  
    2424#include "Defs.h"
    2525#include <iprt/net.h>
    26 #include <string>
     26#include <iprt/cpp/ministring.h>
    2727#include "ClientId.h"
    2828#include "DhcpOptions.h"
    2929
    30 
    31 /* move to <iptr/net.h>? */
    32 #define DHCP_OPTION_OVERLOAD_MASK  0x3
    33 #define DHCP_OPTION_OVERLOAD_FILE  0x1
    34 #define DHCP_OPTION_OVERLOAD_SNAME 0x2
    3530
    3631
     
    4843    RTNETADDRIPV4   m_giaddr;
    4944
    50     std::string m_sname;
    51     std::string m_file;
     45    RTCString m_sname;
     46    RTCString m_file;
    5247
    5348    OptMessageType m_optMessageType;
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