X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f87f98d0c5b344b0973990cc628caf4afab4f928..b365f2b79a681a3afc3b487fd5fa659f83725bd7:/package/wprobe/src/exporter/wprobe-export.c diff --git a/package/wprobe/src/exporter/wprobe-export.c b/package/wprobe/src/exporter/wprobe-export.c index 9255d76c4..a0e52e2f4 100644 --- a/package/wprobe/src/exporter/wprobe-export.c +++ b/package/wprobe/src/exporter/wprobe-export.c @@ -149,7 +149,10 @@ add_template_fields(ipfix_t *handle, ipfix_template_t *t, struct wprobe_mapping if (map[i].counter) continue; + g_data.lens[f] = 8; g_data.addrs[f++] = &map[i].val->s; + + g_data.lens[f] = 8; g_data.addrs[f++] = &map[i].val->ss; if (ipfix_add_field( handle, t, FOKUS_USERID, map[i].id + 1, 8) < 0) exit(1);