((struct sockaddr_in *)sfrom)->sin_addr.s_addr = htonl (ip4_buf);
((struct sockaddr_in *)sfrom)->sin_addr.s_addr = ip4_buf;
util_ntoa (char **buf, int af, u_int8_t *addr){  struct sockaddr_storage from;  struct sockaddr *sfrom = (struct sockaddr *)&from;  socklen_t fromlen = sizeof from;  u_int32_t ip4_buf;  memset (&from, 0, fromlen);  sfrom->sa_family = af;  switch (af)    {    case AF_INET:      sfrom->sa_len = sizeof (struct sockaddr_in);      memcpy (&ip4_buf, addr, sizeof (struct in_addr));      ((struct sockaddr_in *)sfrom)->sin_addr.s_addr = htonl (ip4_buf);      break;    case AF_INET6:      sfrom->sa_len = sizeof (struct sockaddr_in6);      memcpy (sockaddr_data (sfrom), addr, sizeof (struct in6_addr));      break;    }  if (sockaddr2text (sfrom, buf, 0))    {      log_error ("util_ntoa: sockaddr2text () failed");      *buf = 0;    }}