Changeset 91883 in vbox for trunk/src/VBox/Devices/Network/DrvNAT.cpp
- Timestamp:
- Oct 20, 2021 11:47:48 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNAT.cpp
r91872 r91883 1377 1377 RT_NOREF(pNetwork); /** @todo figure why pNetwork isn't used */ 1378 1378 1379 PCFGMNODE pPFTree = CFGMR3GetChild(pCfg, "PortForwarding");1379 PCFGMNODE pPFTree = pHlp->pfnCFGMGetChild(pCfg, "PortForwarding"); 1380 1380 if (pPFTree == NULL) 1381 1381 return VINF_SUCCESS; … … 1531 1531 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 1532 1532 PDRVNAT pThis = PDMINS_2_DATA(pDrvIns, PDRVNAT); 1533 PCPDMDRVHLPR3 pHlp = pDrvIns->pHlpR3; 1533 1534 1534 1535 LogFlow(("drvNATConstruct:\n")); … … 1685 1686 { \ 1686 1687 int len = 0; \ 1687 rc = CFGMR3QueryS32(pCfg, name, &len); \1688 rc = pHlp->pfnCFGMQueryS32(pCfg, name, &len); \ 1688 1689 if (RT_SUCCESS(rc)) \ 1689 1690 setter(pThis->pNATState, len); \ … … 1703 1704 1704 1705 #ifdef VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER 1705 PCFGMNODE pMappingsCfg = CFGMR3GetChild(pCfg, "HostResolverMappings");1706 PCFGMNODE pMappingsCfg = pHlp->pfnCFGMGetChild(pCfg, "HostResolverMappings"); 1706 1707 1707 1708 if (pMappingsCfg)
Note:
See TracChangeset
for help on using the changeset viewer.