1 --- dynix.c~ 2004-11-21 12:29:57.000000000 +0200
2 +++ dynix.c 2004-11-21 12:29:59.000000000 +0200
4 /* Note: if both bind()-s failed it will use the default local ip from the route table so no problemo */
6 dbgtxt("Connecting: inet_addr() ");
7 - buf = gethostbyname("www.dynserv.ca");
8 + if (strcmp(usedomain, "dyn.ee") == 0) {
9 + buf = gethostbyname("dyn.ee");
11 + buf = gethostbyname("www.dynserv.ca");
14 memcpy(&sckaddr.sin_addr,buf->h_addr_list[0],sizeof(struct in_addr));
15 dbgtxt("Connecting: htons()");