]> git.decadent.org.uk Git - ap-utils.git/blobdiff - ap-gl/auth_mac.c
Imported Upstream version 1.5~pre1
[ap-utils.git] / ap-gl / auth_mac.c
index 5a343361813fc387a7235dd5965d87af8e3d6901..edcd20f4ddd09b1e7cf0a59904174d34657f7c0f 100644 (file)
@@ -22,7 +22,6 @@
 #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")
@@ -125,7 +124,7 @@ void atmel_auth_mac()
        print_helperr(ERR_RET);
        goto exit;
     }
-    print_title(MAC_TITLE);
+    print_top(NULL, MAC_TITLE);
 
     auth_mac = *(varbinds[0].value);
     memcpy(&radius_ip.s_addr, varbinds[1].value, 4);
@@ -466,6 +465,6 @@ choose_view:
     }
     if (AuthMac)
        free(AuthMac);
-    print_title("");
+    print_top(NULL, NULL);
     clear_main(0);
 }