Blame SOURCES/0061-man-tc-vlan.8-Fix-for-incorrect-example.patch

36cfb7
From 58fe50b2e23c1b77ed93d242545d0f274f819681 Mon Sep 17 00:00:00 2001
36cfb7
From: Andrea Claudi <aclaudi@redhat.com>
36cfb7
Date: Mon, 25 Mar 2019 11:57:41 +0100
36cfb7
Subject: [PATCH] man: tc-vlan.8: Fix for incorrect example
36cfb7
36cfb7
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1593630
36cfb7
Upstream Status: iproute2.git commit 8ee38d833ccb1
36cfb7
36cfb7
commit 8ee38d833ccb1863f06634e12c5236b0ef7c2d76
36cfb7
Author: Phil Sutter <phil@nwl.cc>
36cfb7
Date:   Fri Mar 23 21:18:56 2018 +0100
36cfb7
36cfb7
    man: tc-vlan.8: Fix for incorrect example
36cfb7
36cfb7
    This has to be a second match statement to the same u32 filter, not a
36cfb7
    second one (which tc-filter doesn't support at all).
36cfb7
36cfb7
    Signed-off-by: Phil Sutter <phil@nwl.cc>
36cfb7
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
36cfb7
---
36cfb7
 man/man8/tc-vlan.8 | 2 +-
36cfb7
 1 file changed, 1 insertion(+), 1 deletion(-)
36cfb7
36cfb7
diff --git a/man/man8/tc-vlan.8 b/man/man8/tc-vlan.8
36cfb7
index af3de1c54e343..a526f66b60b4c 100644
36cfb7
--- a/man/man8/tc-vlan.8
36cfb7
+++ b/man/man8/tc-vlan.8
36cfb7
@@ -103,7 +103,7 @@ into VLAN ID 123:
36cfb7
 #tc qdisc add dev eth0 handle ffff: ingress
36cfb7
 #tc filter add dev eth0 parent ffff: pref 11 protocol ip \\
36cfb7
 	u32 match ip protocol 1 0xff flowid 1:1 \\
36cfb7
-	u32 match ip src 10.0.0.2 flowid 1:1 \\
36cfb7
+	    match ip src 10.0.0.2 flowid 1:1 \\
36cfb7
 	action vlan push id 123
36cfb7
 .EE
36cfb7
 .RE
36cfb7
-- 
e138d9
2.21.0
36cfb7