aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/misc/snmp_config.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-07-21 15:46:17 +0200
committerMicael Karlberg <[email protected]>2011-07-21 15:46:17 +0200
commit6be519fade4fbd96c5e87ad960c4946d0c2979f6 (patch)
tree23f39308c892803b6f1c12f81a8470eb29d2eaa3 /lib/snmp/src/misc/snmp_config.erl
parent9e2b8f8ab28cb74be951945ac4ea1df1f8bb0960 (diff)
downloadotp-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.erl6
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() ->