Fixed a MIB counter
This commit is contained in:
parent
fa5f6ab150
commit
9466a54128
@ -611,7 +611,7 @@ char *exe_cmd(char *in)
|
|||||||
*/
|
*/
|
||||||
if (strncmp(cmd, "MGTI", 4) == 0) {
|
if (strncmp(cmd, "MGTI", 4) == 0) {
|
||||||
buf = calloc(SS_BUFSIZE, sizeof(char));
|
buf = calloc(SS_BUFSIZE, sizeof(char));
|
||||||
mib_get_netmail_r(buf);
|
mib_get_email_r(buf);
|
||||||
snprintf(obuf, SS_BUFSIZE, "%s", buf);
|
snprintf(obuf, SS_BUFSIZE, "%s", buf);
|
||||||
free(buf);
|
free(buf);
|
||||||
return obuf;
|
return obuf;
|
||||||
|
Reference in New Issue
Block a user