Changeset 97078 in vbox for trunk/src/VBox/NetworkServices/Dhcpd/VBoxNetDhcpd.cpp
- Timestamp:
- Oct 10, 2022 7:32:33 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/Dhcpd/VBoxNetDhcpd.cpp
r97077 r97078 176 176 if (m_hIf != NULL) 177 177 { 178 int rc = IntNetR3If CtxDestroy(m_hIf);178 int rc = IntNetR3IfDestroy(m_hIf); 179 179 AssertRC(rc); 180 180 m_hIf = NULL; … … 227 227 enmTrunkType = kIntNetTrunkType_WhateverNone; 228 228 229 int rc = IntNetR3IfC txCreate(&m_hIf, strNetwork.c_str(), enmTrunkType,230 231 229 int rc = IntNetR3IfCreateEx(&m_hIf, strNetwork.c_str(), enmTrunkType, 230 strTrunk.c_str(), _128K /*cbSend*/, _256K /*cbRecv*/, 231 0 /*fFlags*/); 232 232 if (RT_SUCCESS(rc)) 233 233 { 234 rc = IntNetR3If CtxQueryBufferPtr(m_hIf, &m_pIfBuf);234 rc = IntNetR3IfQueryBufferPtr(m_hIf, &m_pIfBuf); 235 235 if (RT_SUCCESS(rc)) 236 rc = IntNetR3If CtxSetActive(m_hIf, true /*fActive*/);236 rc = IntNetR3IfSetActive(m_hIf, true /*fActive*/); 237 237 } 238 238
Note:
See TracChangeset
for help on using the changeset viewer.