Skip to content

Commit

Permalink
route/qdisc: fixe printing whitespace in qdisc_dump_details()
Browse files Browse the repository at this point in the history
And whitespace (source code) fix.

Signed-off-by: Thomas Haller <thaller@redhat.com>
  • Loading branch information
stv0g authored and thom311 committed Aug 14, 2015
1 parent 2b985e2 commit 6871a3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/route/qdisc.c
Expand Up @@ -520,7 +520,7 @@ static void qdisc_dump_details(struct rtnl_tc *tc, struct nl_dump_params *p)
{
struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) tc;

nl_dump(p, "refcnt %u ", qdisc->q_info);
nl_dump(p, "refcnt %u", qdisc->q_info);
}

static struct rtnl_tc_type_ops qdisc_ops = {
Expand Down
6 changes: 3 additions & 3 deletions lib/route/qdisc/netem.c
Expand Up @@ -29,8 +29,8 @@
/** @cond SKIP */
#define SCH_NETEM_ATTR_LATENCY 0x0001
#define SCH_NETEM_ATTR_LIMIT 0x0002
#define SCH_NETEM_ATTR_LOSS 0x0004
#define SCH_NETEM_ATTR_GAP 0x0008
#define SCH_NETEM_ATTR_LOSS 0x0004
#define SCH_NETEM_ATTR_GAP 0x0008
#define SCH_NETEM_ATTR_DUPLICATE 0x0010
#define SCH_NETEM_ATTR_JITTER 0x0020
#define SCH_NETEM_ATTR_DELAY_CORR 0x0040
Expand All @@ -40,7 +40,7 @@
#define SCH_NETEM_ATTR_RO_CORR 0x0400
#define SCH_NETEM_ATTR_CORRUPT_PROB 0x0800
#define SCH_NETEM_ATTR_CORRUPT_CORR 0x1000
#define SCH_NETEM_ATTR_DIST 0x2000
#define SCH_NETEM_ATTR_DIST 0x2000
/** @endcond */

static struct nla_policy netem_policy[TCA_NETEM_MAX+1] = {
Expand Down

0 comments on commit 6871a3b

Please sign in to comment.