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 }