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 <mackyle@gmail.com>
This commit is contained in:
parent
aff3a43fa0
commit
26b40cb773
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user