* Copyright (c) 1997-2004 Jean Tourrilhes <jt@hpl.hp.com>
*/
-#include "iwlib.h" /* Header */
+#include "iwlib-private.h" /* Private header */
/************************* DISPLAY ROUTINES **************************/
for(i = 0; i < n; i++)
{
/* Print stats for each address */
- printf(" %s : ", iw_pr_ether(temp, hwa[i].sa_data));
+ printf(" %s : ", iw_saether_ntop(&hwa[i], temp));
iw_print_stats(temp, sizeof(temp), &qual[i], &range, has_range);
printf("%s\n", temp);
}
/* The device name must be the first argument */
/* Name only : show spy list for that device only */
if(argc == 2)
- print_spy_info(skfd, argv[1], NULL, 0);
+ goterr = print_spy_info(skfd, argv[1], NULL, 0);
else
/* Special commands */
if(!strcmp(argv[2], "setthr"))