#include <unistd.h>
#include <string.h>
#include "ap-utils.h"
-#include "ap-curses.h"
#define MAX_LINES LINES-6
#define PACKET_ERROR _("AuthorizedMacTableString packet error")
print_helperr(ERR_RET);
goto exit;
}
- print_title(MAC_TITLE);
+ print_top(NULL, MAC_TITLE);
auth_mac = *(varbinds[0].value);
sprintf(message, "%s%s", MAC_AUTH, (auth_mac == 1) ? ON : OFF);
}
if (AuthMac)
free(AuthMac);
- print_title("");
+ print_top(NULL, NULL);
clear_main(0);
}
char destroy = 6, create = 4, allow = 1;
int i, auth_mac = 0, mac_num = 0, begin, end;
varbind varbinds[3];
- print_title(MAC_TITLE);
+ print_top(NULL, MAC_TITLE);
mvwaddstr(main_sub, 2, 5, MAC_HEADER);
wrefresh(main_sub);
first = curr->next;
free(curr);
}
- print_title("");
+ print_top(NULL, NULL);
clear_main(0);
}