Thread (5 messages) flat view 5 messages, 3 authors, 2017-01-20

Re: [PATCH net-next V4] tc: flower: Refactor matching flags to be more user friendly

From: Paul Blakey <hidden>
Date: 2017-01-19 15:06:08


On 19/01/2017 16:22, Jiri Benc wrote:
On Thu, 19 Jan 2017 16:17:48 +0200, Paul Blakey wrote:
quoted
+	while (token) {
+		if (!strncmp(token, "no", 2)) {
+			no = true;
+			token = strchr(token, '_') + 1;
This seems to still assume that "no" is followed by an underscore.
What about a simple token += 2?

 Jiri
Thanks again, v5 is sent.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help