aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZandra <[email protected]>2015-11-13 12:04:56 +0100
committerZandra <[email protected]>2015-11-13 12:04:56 +0100
commit2e1f8f4f591e57a4176b6696b0f780341a6e3f11 (patch)
treef8f8874893899c50abeefb01886e146e0bbd55b1
parent263d1e6bb37cb09f0d09039da625f14db656f552 (diff)
parente4e7bdfbd86e22450b747d95fd635155df5e40af (diff)
downloadotp-2e1f8f4f591e57a4176b6696b0f780341a6e3f11.tar.gz
otp-2e1f8f4f591e57a4176b6696b0f780341a6e3f11.tar.bz2
otp-2e1f8f4f591e57a4176b6696b0f780341a6e3f11.zip
Merge branch 'maint'
-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]) ->