diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-02-06 00:52:08 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-02-06 02:04:51 +0100 |
commit | 22772cc5293af7944b5fa2fd374652827cb4229d (patch) | |
tree | c5172cccf710a74206b74cb3ba6ce5748fdd3963 /src/select.c | |
parent | 80f4c4eb089e87cb1a9c6843b60836b7a6952164 (diff) |
vty: fix 'logging print file' output
In If1bd79026a3c680ccf7587d545d12f7759a998fc, an erratic logging output crept
in for an earlier patch state and was merged by accident; fix 'logging print
file (0|1|basename)' output.
Add value string to map LOG_FILENAME_* enum to VTY args, use for both command
evaluation as well as printing the vty config.
The default is 'logging print file 1', hence we could omit an output when '1'
is chosen. But for clarity, always output the current setting.
Change-Id: I1c931bff1f1723aa82bead9dfe548e4cc5b685e0
Diffstat (limited to 'src/select.c')
0 files changed, 0 insertions, 0 deletions