aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src
diff options
context:
space:
mode:
authorZandra <[email protected]>2015-11-13 12:03:51 +0100
committerZandra <[email protected]>2015-11-13 12:03:51 +0100
commite4e7bdfbd86e22450b747d95fd635155df5e40af (patch)
treed6f322990694a8a5425afd77e6622f69e35f55cc /lib/snmp/src
parent0db6272323fd662cb43f5bb4d24f01daa8a6647d (diff)
parent2801f3dae373f1cf22f8a7113f1a53cd242ed62f (diff)
downloadotp-e4e7bdfbd86e22450b747d95fd635155df5e40af.tar.gz
otp-e4e7bdfbd86e22450b747d95fd635155df5e40af.tar.bz2
otp-e4e7bdfbd86e22450b747d95fd635155df5e40af.zip
Merge branch 'zhird/johnheizenberg/snmp_config_check_imask_bugfix' into maint
* zhird/johnheizenberg/snmp_config_check_imask_bugfix: fix snmp_conf check imask bug OTP-13101
Diffstat (limited to 'lib/snmp/src')
-rw-r--r--lib/snmp/src/misc/snmp_conf.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/snmp/src/misc/snmp_conf.erl b/lib/snmp/src/misc/snmp_conf.erl
index 0364613f8e..6264d79cec 100644
--- a/lib/snmp/src/misc/snmp_conf.erl
+++ b/lib/snmp/src/misc/snmp_conf.erl
@@ -1005,6 +1005,8 @@ check_imask(IMask) when is_list(IMask) ->
do_check_imask(IMask),
{ok, IMask}.
+do_check_imask([]) ->
+ ok;
do_check_imask([0|IMask]) ->
do_check_imask(IMask);
do_check_imask([1|IMask]) ->