um: Fix typo in vector driver transport option definition
authorIgnat Korchagin <ignat@cloudflare.com>
Sat, 25 Apr 2020 08:18:42 +0000 (09:18 +0100)
committerRichard Weinberger <richard@nod.at>
Wed, 29 Apr 2020 19:22:15 +0000 (21:22 +0200)
No big problem as "raw" and "gre" have the same length, but could go wrong if
they don't in the future.

Signed-off-by: Ignat Korchagin <ignat@cloudflare.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/vector_user.h

index 91f35b2..d29d5fd 100644 (file)
@@ -17,7 +17,7 @@
 #define TRANS_TAP_LEN strlen(TRANS_TAP)
 
 #define TRANS_GRE "gre"
-#define TRANS_GRE_LEN strlen(TRANS_RAW)
+#define TRANS_GRE_LEN strlen(TRANS_GRE)
 
 #define TRANS_L2TPV3 "l2tpv3"
 #define TRANS_L2TPV3_LEN strlen(TRANS_L2TPV3)