diff options
Diffstat (limited to 'src/print_wireless_info.c')
-rw-r--r-- | src/print_wireless_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c index 8b390ab..83c717e 100644 --- a/src/print_wireless_info.c +++ b/src/print_wireless_info.c @@ -342,7 +342,7 @@ void print_wireless_info(yajl_gen json_gen, char *buffer, const char *interface, if (info.flags & WIRELESS_INFO_FLAG_HAS_QUALITY) START_COLOR((info.quality < info.quality_average ? "color_degraded" : "color_good")); else - START_COLOR("color_good"); + START_COLOR((BEGINS_WITH(ip_address, "no IP") ? "color_degraded" : "color_good")); } else { walk = format_down; START_COLOR("color_bad"); |