diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-04-10 08:47:55 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-04-10 08:47:55 -0700 |
commit | ff24746cca1ef0c92d46614158e6672acd6b63d3 (patch) | |
tree | 05c1317f25238efa48ec7f79cdb82c4044175dbe /tc/q_rr.c | |
parent | 49b730d7b237a3c0b2361e77877228199f32cf9c (diff) | |
download | platform_external_iproute2-ff24746cca1ef0c92d46614158e6672acd6b63d3.tar.gz platform_external_iproute2-ff24746cca1ef0c92d46614158e6672acd6b63d3.tar.bz2 platform_external_iproute2-ff24746cca1ef0c92d46614158e6672acd6b63d3.zip |
Convert to use rta_getattr_ functions
User new functions (inspired by libmnl) to do type safe access
of routeing attributes
Diffstat (limited to 'tc/q_rr.c')
-rw-r--r-- | tc/q_rr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ int rr_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) if (tb[TCA_PRIO_MQ]) fprintf(f, " multiqueue: %s ", - *(unsigned char *)RTA_DATA(tb[TCA_PRIO_MQ]) ? "on" : "off"); + rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off"); return 0; } |