diff options
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor.c,v 1.89 2006/11/07 10:31:31 markus Exp $ */ | 1 | /* $OpenBSD: monitor.c,v 1.90 2007/02/19 10:45:58 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> | 4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> |
@@ -642,6 +642,9 @@ mm_answer_pwnamallow(int sock, Buffer *m) | |||
642 | #endif | 642 | #endif |
643 | buffer_put_cstring(m, pwent->pw_dir); | 643 | buffer_put_cstring(m, pwent->pw_dir); |
644 | buffer_put_cstring(m, pwent->pw_shell); | 644 | buffer_put_cstring(m, pwent->pw_shell); |
645 | buffer_put_string(m, &options, sizeof(options)); | ||
646 | if (options.banner != NULL) | ||
647 | buffer_put_cstring(m, options.banner); | ||
645 | 648 | ||
646 | out: | 649 | out: |
647 | debug3("%s: sending MONITOR_ANS_PWNAM: %d", __func__, allowed); | 650 | debug3("%s: sending MONITOR_ANS_PWNAM: %d", __func__, allowed); |