aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/pg/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/pg/edit.c')
-rw-r--r--src/vnet/pg/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/pg/edit.c b/src/vnet/pg/edit.c
index 8d1437e96bc..a0aab1fb566 100644
--- a/src/vnet/pg/edit.c
+++ b/src/vnet/pg/edit.c
@@ -167,7 +167,7 @@ unformat_pg_payload (unformat_input_t * input, va_list * args)
for (i = 0; i < len; i++)
v[i] = i % ilen;
- e = pg_create_edit_group (s, sizeof (e[0]), vec_len (v), 0);
+ e = pg_create_edit_group (s, sizeof (e[0]), 0, 0);
e->type = PG_EDIT_FIXED;
e->n_bits = vec_len (v) * BITS (v[0]);