use int8 as boolean

This commit is contained in:
Felix Fietkau 2011-03-27 01:05:30 +01:00
parent 6cf4326987
commit 155f8059cc

1
cli.c
View file

@ -9,6 +9,7 @@ static int timeout = 30;
static const char *format_type(void *priv, struct blob_attr *attr)
{
static const char * const attr_types[] = {
[BLOBMSG_TYPE_INT8] = "\"Boolean\"",
[BLOBMSG_TYPE_INT32] = "\"Integer\"",
[BLOBMSG_TYPE_STRING] = "\"String\"",
};