X-Git-Url: https://git.enpas.org/?p=sysstatus.git;a=blobdiff_plain;f=src%2Fstatus%2Fnetif.c;h=e760b4c7393420944996b1dfd28d8cd2156c2d7a;hp=3c0fef0ba1e2c8b6d435a17d5396750bf7a878c9;hb=665fd156d476563148015a174d8c695a1350bfa4;hpb=69497249f2f423b50b3385a83da3ac9a418166c9 diff --git a/src/status/netif.c b/src/status/netif.c index 3c0fef0..e760b4c 100644 --- a/src/status/netif.c +++ b/src/status/netif.c @@ -44,7 +44,7 @@ void status_netif(GlobalData *g, char *ifname) /* Is the interface up? */ if (access(ifpath, F_OK)) { - //s.color = "grey"; + //s.color = "#BEBEBE"; // grey return; } @@ -53,9 +53,9 @@ void status_netif(GlobalData *g, char *ifname) stlen = fileRead(stline, sizeof(stline), ifpath); if (stlen > 0) { if (stline[0] == '1') { - s.color = "yellow"; + s.color = "#FFFF00"; // yellow } else { - //s.color = "red"; + //s.color = "#FF0000"; // red return; } } else {