frontlib/logging.c
changeset 7155 273ad375d64e
child 7158 a0573014ff4f
equal deleted inserted replaced
7152:f49254ddfc67 7155:273ad375d64e
       
     1 #include "logging.h"
       
     2 
       
     3 char* flib_format_ip(uint32_t numip) {
       
     4 	static char ip[16];
       
     5 	snprintf(ip, 16, "%u.%u.%u.%u", numip>>24, (numip>>16)&0xff, (numip>>8)&0xff, numip&0xff);
       
     6 	return ip;
       
     7 }