From ed1ca507983bfb5fecaeae9e1ba30649e347c78c Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Sun, 2 Apr 2017 14:14:40 +0200 Subject: [PATCH] Fix syntax error --- ethsock.c | 2 +- nmrpd.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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__) -- 2.25.1