diff options
author | Micael Karlberg <[email protected]> | 2011-07-21 15:46:17 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-07-21 15:46:17 +0200 |
commit | 6be519fade4fbd96c5e87ad960c4946d0c2979f6 (patch) | |
tree | 23f39308c892803b6f1c12f81a8470eb29d2eaa3 /lib/snmp/src/misc/snmp_config.erl | |
parent | 9e2b8f8ab28cb74be951945ac4ea1df1f8bb0960 (diff) | |
download | otp-6be519fade4fbd96c5e87ad960c4946d0c2979f6.tar.gz otp-6be519fade4fbd96c5e87ad960c4946d0c2979f6.tar.bz2 otp-6be519fade4fbd96c5e87ad960c4946d0c2979f6.zip |
The snmp config tool could not handle (manager) audit trail config
because the option seqno was not handled.
OTP-9354
Diffstat (limited to 'lib/snmp/src/misc/snmp_config.erl')
-rw-r--r-- | lib/snmp/src/misc/snmp_config.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/snmp/src/misc/snmp_config.erl b/lib/snmp/src/misc/snmp_config.erl index fcbc6a88c9..4a7167c8a3 100644 --- a/lib/snmp/src/misc/snmp_config.erl +++ b/lib/snmp/src/misc/snmp_config.erl @@ -337,7 +337,7 @@ config_agent_sys() -> {dir, ATLDir}, {size, ATLSize}, {repair, ATLRepair}, - {seqno, ATLSeqNo}]}]; + {seqno, ATLSeqNo}]}]; no -> [] end, @@ -2350,7 +2350,9 @@ write_sys_config_file_manager_atl_opt(Fid, {type, Type}) -> write_sys_config_file_manager_atl_opt(Fid, {size, Size}) -> ok = io:format(Fid, "{size, ~w}", [Size]); write_sys_config_file_manager_atl_opt(Fid, {repair, Rep}) -> - ok = io:format(Fid, "{repair, ~w}", [Rep]). + ok = io:format(Fid, "{repair, ~w}", [Rep]); +write_sys_config_file_manager_atl_opt(Fid, {seqno, SeqNo}) -> + ok = io:format(Fid, "{seqno, ~w}", [SeqNo]). header() -> |