getaddrinfo.c (6a068746777241722b2b32c5d0bc443a2a64d80b) getaddrinfo.c (f61ac9d9bd906891feadcabecfe2b92d9e3e97a4)
1/* $KAME: getaddrinfo.c,v 1.15 2000/07/09 04:37:24 itojun Exp $ */
2
3/*
4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 450 unchanged lines hidden (view full) ---

459#ifdef PF_INET6
460 pai->ai_family = PF_INET6;
461#else
462 pai->ai_family = PF_INET;
463#endif
464 }
465 error = get_portmatch(pai, servname);
466 if (error)
1/* $KAME: getaddrinfo.c,v 1.15 2000/07/09 04:37:24 itojun Exp $ */
2
3/*
4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 450 unchanged lines hidden (view full) ---

459#ifdef PF_INET6
460 pai->ai_family = PF_INET6;
461#else
462 pai->ai_family = PF_INET;
463#endif
464 }
465 error = get_portmatch(pai, servname);
466 if (error)
467 ERR(error);
467 goto bad;
468
469 *pai = ai0;
470 }
471
472 ai0 = *pai;
473
474 /*
475 * NULL hostname, or numeric hostname.

--- 2372 unchanged lines hidden ---
468
469 *pai = ai0;
470 }
471
472 ai0 = *pai;
473
474 /*
475 * NULL hostname, or numeric hostname.

--- 2372 unchanged lines hidden ---