Changeset 28371 in vbox for trunk/src/VBox/NetworkServices/NAT
- Timestamp:
- Apr 15, 2010 3:02:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/VBoxNetNAT.cpp
r28364 r28371 336 336 g_pNAT = new VBoxNetNAT(); 337 337 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 } 345 348 delete g_pNAT; 346 349 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.