VirtualBox

Changeset 47948 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 21, 2013 8:15:54 AM (11 years ago)
Author:
vboxsync
Message:

lwip-nat: Don't apply port-forward rules immediatly (pollmgr isn't ready yet).

File:
1 edited

Legend:

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

    r47877 r47948  
    848848            Log(("%d-rule: %ls\n", idxRules, rules[idxRules]));
    849849            NATSEVICEPORTFORWARDRULE Rule;
     850            RT_ZERO(Rule);
    850851            rc = netPfStrToPf(com::Utf8Str(rules[idxRules]).c_str(), 0, &Rule.Pfr);
    851852            AssertRC(rc);
    852             natServicePfRegister(Rule);
     853            m_vecPortForwardRule4.push_back(Rule);
    853854        }
    854855
     
    862863            NATSEVICEPORTFORWARDRULE Rule;
    863864            netPfStrToPf(com::Utf8Str(rules[idxRules]).c_str(), 1, &Rule.Pfr);
    864             natServicePfRegister(Rule);
     865            m_vecPortForwardRule4.push_back(Rule);
    865866        }
    866867    } /* if (!fDontLoadRulesOnStartup) */
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