fixed default interface variable output
This commit is contained in:
parent
8b8ea9a57f
commit
0a21101817
|
|
@ -96,7 +96,9 @@ static void funct_mqtt_2_test(char *argres, int rw)
|
|||
|
||||
static void funct_def_interface(char *argres, int rw)
|
||||
{
|
||||
GetDefaultNetIFName(argres);
|
||||
char interface[3];
|
||||
GetDefaultNetIFName(interface);
|
||||
snprintf(argres, VAR_MAX_VALUE_LENGTH, "\"%s\"", interface);
|
||||
}
|
||||
|
||||
static void funct_time(char *argres, int rw)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user