X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ortp_send.c;h=9095a8f87272a5d1ae26ae8c6f0a42cae0a4aa41;hp=e17c84746ea4215d833dba399c3e423a64789afb;hb=c2ac39f76d245816a919d94790672fb66e9a7253;hpb=cb6d1dfb9e4067229a4bbde0abd05784d97ef14b diff --git a/ortp_send.c b/ortp_send.c index e17c8474..9095a8f8 100644 --- a/ortp_send.c +++ b/ortp_send.c @@ -289,7 +289,7 @@ static void ortp_init_target_list(void) if (!p) goto err; *p = '\0'; - if (!inet_aton(arg, &addr)) + if (!inet_pton(AF_INET, arg, &addr)) goto err; port = atoi(++p); if (port < 0 || port > 65535)