diff options
Diffstat (limited to 'lib/snmp/src/manager/snmpm_config.erl')
-rw-r--r-- | lib/snmp/src/manager/snmpm_config.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/snmp/src/manager/snmpm_config.erl b/lib/snmp/src/manager/snmpm_config.erl index f69bd16577..356ba44b08 100644 --- a/lib/snmp/src/manager/snmpm_config.erl +++ b/lib/snmp/src/manager/snmpm_config.erl @@ -363,7 +363,7 @@ register_agent(UserId, TargetName, Config0) %% Check: %% 1) That the mandatory configs are present %% 2) That no illegal config, e.g. user_id (used internally), - %% is not present + %% are present %% 3) Check that there are no invalid or erroneous configs %% 4) Check that the manager is capable of using the selected version try @@ -1444,10 +1444,10 @@ verify_server_cbproxy(CBP) -> verify_server_nis(none) -> ok; -verify_server_nis({PingTo, PongTo} = V) when is_integer(PingTo) andalso - (PingTo > 0) andalso - is_integer(PongTo) andalso - (PongTo > 0) -> +verify_server_nis({PingTo, PongTo} = _V) when is_integer(PingTo) andalso + (PingTo > 0) andalso + is_integer(PongTo) andalso + (PongTo > 0) -> ok; verify_server_nis(NIS) -> error({invalid_server_netif_sup, NIS}). @@ -3118,7 +3118,7 @@ do_update_usm_user_info(Key, {error, {unsupported_crypto, des_cbc}} end; do_update_usm_user_info(Key, - #usm_user{priv = usmAesCfb128Protocoll} = User, + #usm_user{priv = usmAesCfb128Protocol} = User, priv_key, Val) when length(Val) =:= 16 -> case is_crypto_supported(aes_cfb128) of |