From ed3a81adeb823158964ff15322b395675fcea422 Mon Sep 17 00:00:00 2001 From: Fabian Maurer Date: Mon, 19 Nov 2018 22:05:13 +0100 Subject: [PATCH] Fix interface spelling --- src/ifconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifconfig.c b/src/ifconfig.c index 0bbbf82..59aa94c 100644 --- a/src/ifconfig.c +++ b/src/ifconfig.c @@ -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: -- 2.25.1