From f380d139397dd3cd2bcc5df0330304ab1ceded1e Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 10 Jul 2015 13:53:39 -0500 Subject: ifconfig MAC addresses should be lowercase. A minor nit, but for some reason this really stands out every time I run ifconfig... --- toys/other/ifconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other/ifconfig.c') diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c index 6ee01c40..948043e2 100644 --- a/toys/other/ifconfig.c +++ b/toys/other/ifconfig.c @@ -123,7 +123,7 @@ static void display_ifconfig(char *name, int always, unsigned long long val[]) xprintf("%-9s Link encap:%s ", name, types[i].title); if(i >= 0 && ifre.ifr_hwaddr.sa_family == ARPHRD_ETHER) { xprintf("HWaddr "); - for (i=0; i<6; i++) xprintf(":%02X"+!i, ifre.ifr_hwaddr.sa_data[i]); + for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); } xputc('\n'); -- cgit v1.2.3