Fix interface spelling
authorFabian Maurer <dark.shadow4@web.de>
Mon, 19 Nov 2018 21:05:13 +0000 (22:05 +0100)
committerFabian Maurer <dark.shadow4@web.de>
Mon, 19 Nov 2018 21:19:16 +0000 (22:19 +0100)
src/ifconfig.c

index 0bbbf828fb90e7fa27218d74b57e5514c93a6395..59aa94c3815f1b85fae15de79630a61aa53248d6 100644 (file)
@@ -136,11 +136,11 @@ void ifconfig_address(FILE *out, const char *value) {
                break;
 
        case SUBNET_IPV4:
-               fprintf(out, "netsh inetface ipv4 set address \"%%INTERFACE%%\" static %s\n", address_str);
+               fprintf(out, "netsh interface ipv4 set address \"%%INTERFACE%%\" static %s\n", address_str);
                break;
 
        case SUBNET_IPV6:
-               fprintf(out, "netsh inetface ipv6 set address \"%%INTERFACE%%\" %s\n", address_str);
+               fprintf(out, "netsh interface ipv6 set address \"%%INTERFACE%%\" %s\n", address_str);
                break;
 
        default: