From: Joseph C. Lehner Date: Sun, 2 Apr 2017 12:14:40 +0000 (+0200) Subject: Fix syntax error X-Git-Tag: v0.9.11~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ed1ca507983bfb5fecaeae9e1ba30649e347c78c;p=oweals%2Fnmrpflash.git Fix syntax error --- diff --git a/ethsock.c b/ethsock.c index 6c4defd..1f42030 100644 --- a/ethsock.c +++ b/ethsock.c @@ -763,7 +763,7 @@ static int ethsock_arp(struct ethsock *sock, uint8_t *hwaddr, uint32_t ipaddr, s #elif defined(NMRPFLASH_WINDOWS) return DeleteIpNetEntry(&arp) ? 0 : -1; #else - return systemf("arp -d %s", inet_ntoa(addr); + return systemf("arp -d %s", inet_ntoa(addr)); #endif } diff --git a/nmrpd.h b/nmrpd.h index d050707..0773777 100644 --- a/nmrpd.h +++ b/nmrpd.h @@ -26,6 +26,7 @@ #if defined(_WIN32) || defined(_WIN64) # define NMRPFLASH_WINDOWS #elif defined(__APPLE__) && defined(__MACH__) +# define NMRPFLASH_UNIX # define NMRPFLASH_OSX # define NMRPFLASH_BSD #elif defined (__unix__)