summaryrefslogtreecommitdiffstats
path: root/src/rest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest.c')
-rw-r--r--src/rest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rest.c b/src/rest.c
index 99db577..c0b4480 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -1546,6 +1546,7 @@ static int og_cmd_post_client_add(json_t *element,
" ip,"
" mac,"
" idaula,"
+ " grupoid,"
" idperfilhard,"
" idrepositorio,"
" mascara,"
@@ -1555,7 +1556,7 @@ static int og_cmd_post_client_add(json_t *element,
" oglivedir,"
" inremotepc,"
" maintenance"
- ") VALUES ('%s', '%s', '%s', '%s', %u, %u,"
+ ") VALUES ('%s', '%s', '%s', '%s', %u, 0, %u,"
" %u, '%s', '%s', '%s', '%s',"
" '%s', %u, %u)",
computer.name, computer.serial_number,