Fix syntax error
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Sun, 2 Apr 2017 12:14:40 +0000 (14:14 +0200)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Sun, 2 Apr 2017 12:14:40 +0000 (14:14 +0200)
ethsock.c
nmrpd.h

index 6c4defda08e9e6652f708dd1d3c0934a52734110..1f420307d2395607837c0f784cfd44e8b20bab22 100644 (file)
--- 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 d050707b6ae88d4161787e5354922f760d649dcb..0773777c5e255e894b3f90950a7255fa97c40eb0 100644 (file)
--- 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__)