Imported Upstream version 2.7.4

This commit is contained in:
Laurent Bigonville 2016-07-18 02:11:41 +02:00
parent fd413a3168
commit c9cb2187ee
290 changed files with 7473 additions and 2607 deletions

View file

@ -156,9 +156,10 @@ static void get_type(nut_ctype_t *client, const char *upsname, const char *var)
return;
}
/* hmm... */
/* Any variable that is not string | range | enum is just a simple
* numeric value */
sendback(client, "TYPE %s %s UNKNOWN\n", upsname, var);
sendback(client, "TYPE %s %s NUMBER\n", upsname, var);
}
static void get_var_server(nut_ctype_t *client, const char *upsname, const char *var)