projects
/
platform
/
upstream
/
libnl2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed compile time warning by adding upstream patches
[platform/upstream/libnl2.git]
/
lib
/
route
/
sch
/
tbf.c
diff --git
a/lib/route/sch/tbf.c
b/lib/route/sch/tbf.c
index
eccaf70
..
161d564
100644
(file)
--- a/
lib/route/sch/tbf.c
+++ b/
lib/route/sch/tbf.c
@@
-166,7
+166,7
@@
static struct nl_msg *tbf_get_opts(struct rtnl_qdisc *qdisc)
if (!tbf)
return NULL;
- if (
!
(tbf->qt_mask & required) != required)
+ if ((tbf->qt_mask & required) != required)
return NULL;
opts.limit = tbf->qt_limit;