Fixed a MIB counter

This commit is contained in:
Michiel Broek 2008-02-10 19:10:05 +00:00
parent fa5f6ab150
commit 9466a54128

View File

@ -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;