projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdd4a4e
)
wprobe: fix up data lengths in the ipfix exporter
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 24 Dec 2009 10:34:29 +0000
(10:34 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 24 Dec 2009 10:34:29 +0000
(10:34 +0000)
SVN-Revision: 18919
package/wprobe/src/exporter/wprobe-export.c
patch
|
blob
|
history
diff --git
a/package/wprobe/src/exporter/wprobe-export.c
b/package/wprobe/src/exporter/wprobe-export.c
index 9255d76c454a6f684a96f33348485f5bc79fa151..a0e52e2f4e0855dce0e870060717adf44de8eb35 100644
(file)
--- 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);