From 26b40cb773c1ce0032436485246fff0adb82a5df Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Tue, 5 Dec 2017 15:22:15 -0800 Subject: [PATCH] netcat.c.patch: eliminate syntax error from patch If the target system does not define IPV6_TCLASS, this part of the patch handles that with an ENOPROTOOPT error rather than failing to compile. Unfortunately it's missing a trailing semicolon leading to a compilation error. Add the missing semicolon to fix the problem. Signed-off-by: Kyle J. McKay --- patches/netcat.c.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/netcat.c.patch b/patches/netcat.c.patch index 7ba6b5f..35f88db 100644 --- a/patches/netcat.c.patch +++ b/patches/netcat.c.patch @@ -134,7 +134,7 @@ err(1, "set IPv6 traffic class"); +#else + else if (af == AF_INET6) { -+ errno = ENOPROTOOPT ++ errno = ENOPROTOOPT; + err(1, "set IPv6 traffic class not supported"); + } +#endif