mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2026-01-08 19:19:16 +00:00
Missing memset in tc sample
This commit is contained in:
parent
49843e291d
commit
f3b1006c73
@ -1,3 +1,7 @@
|
||||
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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user