X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ortp_send.c;fp=ortp_send.c;h=9095a8f87272a5d1ae26ae8c6f0a42cae0a4aa41;hp=e17c84746ea4215d833dba399c3e423a64789afb;hb=06e7fb50098513c14d08c82fa1579d7bd105dc5c;hpb=f561ba2a444fa5ad161e5c415ee0f2f83527bda7 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)