diff --git a/src/utils/dawn_iwinfo.c b/src/utils/dawn_iwinfo.c index 29b55cd..3ea89f0 100644 --- a/src/utils/dawn_iwinfo.c +++ b/src/utils/dawn_iwinfo.c @@ -35,7 +35,7 @@ int compare_essid_iwinfo(__uint8_t *bssid_addr, __uint8_t *bssid_addr_to_compare struct dirent *entry; dirp = opendir(hostapd_dir_glob); // error handling? if (!dirp) { - fprintf(stderr, "No hostapd sockets!\n"); + fprintf(stderr, "[COMPARE ESSID] No hostapd sockets!\n"); return 0; } @@ -93,7 +93,7 @@ int get_bandwidth_iwinfo(__uint8_t *client_addr, float *rx_rate, float *tx_rate) struct dirent *entry; dirp = opendir(hostapd_dir_glob); // error handling? if (!dirp) { - fprintf(stderr, "No hostapd sockets!\n"); + fprintf(stderr, "[BANDWITH INFO]No hostapd sockets!\n"); return 0; } @@ -152,7 +152,7 @@ int get_rssi_iwinfo(__uint8_t *client_addr) { struct dirent *entry; dirp = opendir(hostapd_dir_glob); // error handling? if (!dirp) { - fprintf(stderr, "No hostapd sockets!\n"); + fprintf(stderr, "[RSSI INFO] No hostapd sockets!\n"); return INT_MIN; } diff --git a/src/utils/ubus.c b/src/utils/ubus.c index cfc4bb8..c368a86 100644 --- a/src/utils/ubus.c +++ b/src/utils/ubus.c @@ -636,7 +636,7 @@ static int subscribe_to_hostapd_interfaces(const char *hostapd_dir) { dirp = opendir(hostapd_dir); // error handling? if (!dirp) { - fprintf(stderr, "No hostapd sockets!\n"); + fprintf(stderr, "[SUBSCRIBING] No hostapd sockets!\n"); return -1; } while ((entry = readdir(dirp)) != NULL) {