Use -g instead of --gateway

This commit is contained in:
Kevin Evans 2023-01-31 13:24:55 -08:00 committed by GitHub
parent dd3c72ef4a
commit 0c935c6d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ const char *build_wh_mkconfig_command(ConfigValues* cv){
} }
if(cv->gateway!=NULL) { if(cv->gateway!=NULL) {
strcat(cmd_mkconfig, " --gateway "); strcat(cmd_mkconfig, " -g ");
strcat(cmd_mkconfig, cv->gateway); strcat(cmd_mkconfig, cv->gateway);
} }