+char *address2str(ipv4_t address)
+{
+ char *str;
+cp
+ asprintf(&str, "%hu.%hu.%hu.%hu",
+ (unsigned short int)((address >> 24) & 255),
+ (unsigned short int)((address >> 16) & 255),
+ (unsigned short int)((address >> 8) & 255),
+ (unsigned short int)(address & 255));
+cp
+ return str;
+}