VirtualBox

Changeset 63302 in vbox for trunk/src/VBox/NetworkServices


Ignore:
Timestamp:
Aug 10, 2016 8:50:50 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109935
Message:

NAT: Seems NAT never enabled the DIFx hack, without any explanantion as to why it was disabled. Just keeping it that way for now, should probably merge with the DHCP code and put the result tin NetLib...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp

    r63274 r63302  
    13661366# if defined(RT_OS_WINDOWS)
    13671367
     1368#  if 0 /* Some copy and paste from DHCP that nobody explained why was diabled. */
    13681369static LRESULT CALLBACK WindowProc(HWND hwnd,
    13691370    UINT uMsg,
     
    14381439     return 0;
    14391440}
    1440 
     1441#  endif
    14411442
    14421443
     
    14441445int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
    14451446{
    1446 #if 0
     1447    RT_NOREF(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
     1448#  if 0 /* some copy and paste from DHCP that nobody explained why was diabled. */
    14471449    NOREF(hInstance); NOREF(hPrevInstance); NOREF(lpCmdLine); NOREF(nCmdShow);
    14481450
     
    14591461        CloseHandle(hThread);
    14601462
    1461 #endif
     1463#  endif
    14621464    return main(__argc, __argv, environ);
    14631465}
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