Commit f3b1006c authored by shemminger's avatar shemminger

Missing memset in tc sample

parent 49843e29
2006-03-10 Russell Stuart <russell-lartc@stuart.id.au>
* Fix missing memset in tc sample
2006-03-10 shemminger <shemminger@osdl.org>
* Change default lnstat count to 1
......
......@@ -878,6 +878,7 @@ static int u32_parse_opt(struct filter_util *qu, char *handle, int argc, char **
struct tc_u32_sel sel;
struct tc_u32_key keys[4];
} sel2;
memset(sel2, 0, sizeof(sel32));
NEXT_ARG();
if (parse_selector(&argc, &argv, &sel2.sel, n)) {
fprintf(stderr, "Illegal \"sample\"\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment