File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -508,6 +508,7 @@ bool Config::load(int argc, char *argv[]) {
508
508
}
509
509
510
510
load_from_file (configfile);
511
+ cubes_dump_file_flag = false ;
511
512
load_from_cli (argc, argv);
512
513
check ();
513
514
Original file line number Diff line number Diff line change @@ -289,15 +289,13 @@ int main(int argc, char *argv[]) {
289
289
if (config.getCubesDumpEnabled ()) {
290
290
cubesdump = new CubesDump ();
291
291
core->set_cubes_dump (cubesdump);
292
- }
293
292
294
- // In case the user does not want to initialize the Polycube virtual network,
295
- // let's load the last topology that was present when the daemon was shut down.
296
- if (!config.getCubesDumpCleanInit ()) {
297
- restserver->load_last_topology ();
298
- }
293
+ // In case the user does not want to initialize the Polycube virtual network,
294
+ // let's load the last topology that was present when the daemon was shut down.
295
+ if (!config.getCubesDumpCleanInit ()) {
296
+ restserver->load_last_topology ();
297
+ }
299
298
300
- if (config.getCubesDumpEnabled ()) {
301
299
// start to saving topology only after it has been loaded
302
300
cubesdump->Enable ();
303
301
}
You can’t perform that action at this time.
0 commit comments