Skip to content
Browse files

The snmp config tool could not handle (manager) audit trail config

because the option seqno was not handled.

OTP-9354

Merge branch 'bmk/snmp/audit_trail_config_bug/OTP-9354' into bmk/snmp/snmp421_integration

Conflicts:
	lib/snmp/doc/src/notes.xml
	lib/snmp/src/app/snmp.appup.src
  • Loading branch information...
2 parents b3d4a9c + 6be519f commit 7437a868de13e985698b202750e0eb83c8464a25 @bmk bmk committed Jul 21, 2011
Showing with 11 additions and 8 deletions.
  1. +7 −6 lib/snmp/doc/src/notes.xml
  2. +4 −2 lib/snmp/src/misc/snmp_config.erl
View
13 lib/snmp/doc/src/notes.xml
@@ -69,22 +69,23 @@
<p>Own Id: OTP-9437</p>
</item>
</list>
+
</section>
<section>
<title>Fixed Bugs and Malfunctions</title>
+<!--
<p>-</p>
+-->
-<!--
<list type="bulleted">
<item>
- <p>[agent] Did not handle transport domains properly in some
- cases. </p>
- <p>Own Id: OTP-9400</p>
- </item>
+ <p>The snmp config tool could not handle (manager) audit trail config
+ because the option seqno was not handled. </p>
+ <p>Own Id: OTP-9354</p>
+ </item>
</list>
--->
</section>
View
6 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() ->

0 comments on commit 7437a86

Please sign in to comment.
Something went wrong with that request. Please try again.