From 1250f12149a98e3fa611a7c0715b496befd906f0 Mon Sep 17 00:00:00 2001 From: Simon Newton Date: Mon, 14 May 2012 09:13:16 -0700 Subject: [PATCH] * apply a inet_aton patch from nico --- artnet/network.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artnet/network.c b/artnet/network.c index ea6d83b..e8edf1c 100644 --- a/artnet/network.c +++ b/artnet/network.c @@ -717,7 +717,8 @@ int artnet_net_inet_aton(const char *ip_address, struct in_addr *address) { if (!inet_aton(ip_address, address)) { #else in_addr_t *addr = (in_addr_t*) address; - if ((*addr = inet_addr(ip_address)) == INADDR_NONE) { + if ((*addr = inet_addr(ip_address)) == INADDR_NONE && + strcmp(ip_address, "255.255.255.255")) { #endif artnet_error("IP conversion from %s failed", ip_address); return ARTNET_EARG;