summaryrefslogtreecommitdiff
path: root/src/print_eth_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_eth_info.c')
-rw-r--r--src/print_eth_info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/print_eth_info.c b/src/print_eth_info.c
index 9ad9b92..28ba6c1 100644
--- a/src/print_eth_info.c
+++ b/src/print_eth_info.c
@@ -79,12 +79,12 @@ void print_eth_info(const char *interface, const char *format_up, const char *fo
const char *ip_address = get_ip_addr(interface);
if (ip_address == NULL) {
- printf("%s", color("#FF0000"));
+ printf("%s", color("color_bad"));
printf("%s", format_down);
(void)printf("%s", endcolor());
return;
} else {
- printf("%s", color("#00FF00"));
+ printf("%s", color("color_good"));
}
for (walk = format_up; *walk != '\0'; walk++) {