Skip to content

Commit

Permalink
ndsctl status: show Session Timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
  • Loading branch information
lynxis committed May 14, 2020
1 parent dd1bd84 commit 215ec91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ ndsctl_status(FILE *fp)
fprintf(fp, "Preauth Idle Timeout: %sm\n", durationbuf);
format_duration(0, config->auth_idle_timeout * 60, durationbuf);
fprintf(fp, "Auth Idle Timeout: %s\n", durationbuf);
format_duration(0, config->session_timeout * 60, durationbuf);
fprintf(fp, "Session Timeout: %s\n", durationbuf);

if (config->redirectURL) {
fprintf(fp, "Redirect URL: %s\n", config->redirectURL);
Expand Down

0 comments on commit 215ec91

Please sign in to comment.