X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ortp_send.c;h=9095a8f87272a5d1ae26ae8c6f0a42cae0a4aa41;hp=18b5edd345fe66c048ee1dc0f2eaa4911e617fbe;hb=ce5417393696b1e5b9964418e0f6938b1dc09e9b;hpb=39e304a0adbeee8d606f3c003a338c93f48dd16b diff --git a/ortp_send.c b/ortp_send.c index 18b5edd3..9095a8f8 100644 --- a/ortp_send.c +++ b/ortp_send.c @@ -10,6 +10,8 @@ #include #include "server.cmdline.h" +#include "para.h" +#include "afh.h" #include "server.h" #include "vss.h" #include "send.h" @@ -287,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)