]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - ortp_send.c
Implement afs events.
[paraslash.git] / ortp_send.c
index e17c84746ea4215d833dba399c3e423a64789afb..9095a8f87272a5d1ae26ae8c6f0a42cae0a4aa41 100644 (file)
@@ -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)