diff options
-rw-r--r-- | src/firejail/profile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 6ac7cbe62..a8eedcaff 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -221,6 +221,12 @@ int profile_check_line(char *ptr, int lineno) { | |||
221 | exit(1); | 221 | exit(1); |
222 | return 0; | 222 | return 0; |
223 | } | 223 | } |
224 | |||
225 | // hostname | ||
226 | if (strncmp(ptr, "hostname ", 9) == 0) { | ||
227 | cfg.hostname = ptr + 9; | ||
228 | return 0; | ||
229 | } | ||
224 | 230 | ||
225 | // dns | 231 | // dns |
226 | if (strncmp(ptr, "dns ", 4) == 0) { | 232 | if (strncmp(ptr, "dns ", 4) == 0) { |