Import patch thomas.1

(Logical change 1.147)
This commit is contained in:
net[shemminger]!shemminger 2005-03-10 19:00:42 +00:00
parent 6411e1f541
commit 1d2d1cb522

View File

@ -243,7 +243,7 @@ static int netem_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
if (len > 0) {
struct rtattr *tb[TCA_NETEM_MAX];
struct rtattr *tb[TCA_NETEM_MAX+1];
parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
len);