*** asterisk-1.2.12.orig/utils.c 2006-07-12 06:54:10 -0700 --- asterisk-1.2.12/utils.c 2006-10-30 00:01:58 -0800 *************** *** 195,201 **** --- 195,202 ---- if (dots != 3) return NULL; memset(hp, 0, sizeof(struct ast_hostent)); + hp->hp.h_addrtype = AF_INET; hp->hp.h_addr_list = (void *) hp->buf; hp->hp.h_addr = hp->buf + sizeof(void *); if (inet_pton(AF_INET, host, hp->hp.h_addr) > 0)