]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/f_cgroup.c
tc/m_estimator: Print proper value for estimator interval in raw.
[mirror_iproute2.git] / tc / f_cgroup.c
index 53f7406f2bfa0b256dcbb555b30b593e39657cdc..633700e66aa888a8f25c38deaafe70c9f805a5e6 100644 (file)
@@ -40,7 +40,7 @@ static int cgroup_parse_opt(struct filter_util *qu, char *handle,
 
        t->tcm_handle = h;
 
-       tail = (struct rtattr*)(((void*)n)+NLMSG_ALIGN(n->nlmsg_len));
+       tail = (struct rtattr *)(((void *)n)+NLMSG_ALIGN(n->nlmsg_len));
        addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0);
 
        while (argc > 0) {
@@ -76,7 +76,7 @@ static int cgroup_parse_opt(struct filter_util *qu, char *handle,
                }
        }
 
-       tail->rta_len = (((void*)n)+n->nlmsg_len) - (void*)tail;
+       tail->rta_len = (((void *)n)+n->nlmsg_len) - (void *)tail;
        return 0;
 }
 
@@ -102,7 +102,7 @@ static int cgroup_print_opt(struct filter_util *qu, FILE *f,
        }
 
        if (tb[TCA_CGROUP_ACT])
-               tc_print_action(f, tb[TCA_CGROUP_ACT]);
+               tc_print_action(f, tb[TCA_CGROUP_ACT], 0);
 
        return 0;
 }