]> tinc-vpn.org Git - tinc/blobdiff - src/ifconfig.c
Make sure the stop command works on Windows if tincd is running in the foreground.
[tinc] / src / ifconfig.c
index 742d2ebe1a61d8e91e780401564a47d3f69fe789..0bbbf828fb90e7fa27218d74b57e5514c93a6395 100644 (file)
@@ -128,7 +128,7 @@ void ifconfig_address(FILE *out, const char *value) {
                return;
        }
 
-#elif defined(HAVE_MINGW) || defined(HAVE_CYGWIN)
+#elif defined(HAVE_MINGW)
 
        switch(address.type) {
        case SUBNET_MAC:
@@ -226,7 +226,7 @@ void ifconfig_route(FILE *out, const char *value) {
                }
        }
 
-#elif defined(HAVE_MINGW) || defined(HAVE_CYGWIN)
+#elif defined(HAVE_MINGW)
 
        if(*gateway_str) {
                switch(subnet.type) {