VirtualBox

Ignore:
Timestamp:
Apr 15, 2010 3:02:36 PM (15 years ago)
Author:
vboxsync
Message:

NetworkServices: branding and cosmetical fixes

File:
1 edited

Legend:

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

    r28364 r28371  
    336336    g_pNAT = new VBoxNetNAT();
    337337    Log2(("NAT: parsing command line\n"));
    338     g_pNAT->parseArgs(argc - 1, argv + 1);
    339     Log2(("NAT: initialization\n"));
    340     g_pNAT->init();
    341     Log2(("NAT: try go online\n"));
    342     g_pNAT->tryGoOnline();
    343     Log2(("NAT: main loop\n"));
    344     g_pNAT->run();
     338    int rc = g_pNAT->parseArgs(argc - 1, argv + 1);
     339    if (!rc)
     340    {
     341        Log2(("NAT: initialization\n"));
     342        g_pNAT->init();
     343        Log2(("NAT: try go online\n"));
     344        g_pNAT->tryGoOnline();
     345        Log2(("NAT: main loop\n"));
     346        g_pNAT->run();
     347    }
    345348    delete g_pNAT;
    346349    return 0;
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