init family
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3492 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -2143,6 +2143,8 @@ tn(int argc, char **argv) | ||||
| 	    host = gethostbyname(hostp); | ||||
| #endif | ||||
| 	    if (host) { | ||||
| 		family = host->h_addrtype; | ||||
|  | ||||
| 		switch(family) { | ||||
| 		case AF_INET: | ||||
| 		    memset(&sin, 0, sizeof(sin)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund