diff options
author | 2022-01-20 12:36:55 -0500 | |
---|---|---|
committer | 2022-01-20 12:36:55 -0500 | |
commit | c3d9e4baba0294355f7c71e422a995303c41ed2f (patch) | |
tree | d9c174c6a325955f27ea80be639226d43effbf36 /src | |
parent | profiles: enable deterministic shutdown for ssh (#4870) (diff) | |
download | firejail-c3d9e4baba0294355f7c71e422a995303c41ed2f.tar.gz firejail-c3d9e4baba0294355f7c71e422a995303c41ed2f.tar.zst firejail-c3d9e4baba0294355f7c71e422a995303c41ed2f.zip |
hostnames -> static-ip-map
Diffstat (limited to 'src')
-rw-r--r-- | src/fnettrace/main.c | 5 | ||||
-rw-r--r-- | src/fnettrace/static-ip-map (renamed from src/fnettrace/hostnames) | 0 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/fnettrace/main.c b/src/fnettrace/main.c index dd5fb8c48..e58cc79b3 100644 --- a/src/fnettrace/main.c +++ b/src/fnettrace/main.c | |||
@@ -623,11 +623,8 @@ int main(int argc, char **argv) { | |||
623 | if (arg_netfilter) | 623 | if (arg_netfilter) |
624 | logprintf("starting network lockdown\n"); | 624 | logprintf("starting network lockdown\n"); |
625 | else { | 625 | else { |
626 | char *fname; | 626 | char *fname = LIBDIR "/firejail/static-ip-map"; |
627 | if (asprintf(&fname, "%s/hostnames", SYSCONFDIR) == -1) | ||
628 | errExit("asprintf"); | ||
629 | load_hostnames(fname); | 627 | load_hostnames(fname); |
630 | free(fname); | ||
631 | } | 628 | } |
632 | 629 | ||
633 | run_trace(); | 630 | run_trace(); |
diff --git a/src/fnettrace/hostnames b/src/fnettrace/static-ip-map index e24ecf218..e24ecf218 100644 --- a/src/fnettrace/hostnames +++ b/src/fnettrace/static-ip-map | |||