diff options
| author | Michael Brown | 2012-03-26 20:02:30 +0200 |
|---|---|---|
| committer | Michael Brown | 2012-03-26 20:02:30 +0200 |
| commit | 64d17dbd509d15ddf41bfc5d5b88d53b5af98155 (patch) | |
| tree | 11cedaa6c5bb817f4094c71eb397bda266736b97 /src/net/udp | |
| parent | [console] Allow usage to be defined independently for each console (diff) | |
| download | ipxe-64d17dbd509d15ddf41bfc5d5b88d53b5af98155.tar.gz ipxe-64d17dbd509d15ddf41bfc5d5b88d53b5af98155.tar.xz ipxe-64d17dbd509d15ddf41bfc5d5b88d53b5af98155.zip | |
[console] Exclude text-based UI output from logfile-based consoles
The output from text-based user interfaces such as the "config"
command is not generally meaningful for logfile-based consoles such as
syslog and vmconsole.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/udp')
| -rw-r--r-- | src/net/udp/syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/udp/syslog.c b/src/net/udp/syslog.c index 8788e1c45..abf51359e 100644 --- a/src/net/udp/syslog.c +++ b/src/net/udp/syslog.c @@ -39,7 +39,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); /* Set default console usage if applicable */ #if ! ( defined ( CONSOLE_SYSLOG ) && CONSOLE_EXPLICIT ( CONSOLE_SYSLOG ) ) #undef CONSOLE_SYSLOG -#define CONSOLE_SYSLOG CONSOLE_USAGE_ALL +#define CONSOLE_SYSLOG ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI ) #endif /** The syslog server */ |
