Change default bind address to localhost

This commit is contained in:
Fall1ngStar 2022-10-05 20:14:37 -04:00
parent 8134c26a6f
commit 435778f328
2 changed files with 2 additions and 2 deletions

View file

@ -235,7 +235,7 @@ impl Segment {
let dumps_dir = opt.dumps_dir != PathBuf::from("dumps/");
let import_snapshot = opt.import_snapshot.is_some();
let snapshots_dir = opt.snapshot_dir != PathBuf::from("snapshots/");
let http_addr = opt.http_addr != "127.0.0.1:7700";
let http_addr = opt.http_addr != default_http_addr();
let mut infos = serde_json::to_value(opt).unwrap();