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

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