ソースを参照

snmpstats: removed c&p duplicated module parameter

- reported by Klaus Darilion
(cherry picked from commit 50880207fe208df5de065e0f915c560ac255a9d8)
Daniel-Constantin Mierla 14 年 前
コミット
258422027e
1 ファイル変更0 行追加2 行削除
  1. 0 2
      modules_k/snmpstats/snmpstats.c

+ 0 - 2
modules_k/snmpstats/snmpstats.c

@@ -154,8 +154,6 @@ static param_export_t mod_params[] =
 			(void *)set_snmpget_path          },
 	{ "snmpCommunity",          STR_PARAM|USE_FUNC_PARAM,
 			(void *)set_snmp_community        },
-	{ "snmpCommunity",          STR_PARAM|USE_FUNC_PARAM,
-			(void *)set_snmp_community        },
 	{ "export_registrar",       INT_PARAM,
 			&snmp_export_registrar            },
 	{ 0,0,0 }