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
71d9fd9709
commit
ac9a73f695
@ -134,7 +134,7 @@
|
|||||||
err(1, "set IPv6 traffic class");
|
err(1, "set IPv6 traffic class");
|
||||||
+#else
|
+#else
|
||||||
+ else if (af == AF_INET6) {
|
+ else if (af == AF_INET6) {
|
||||||
+ errno = ENOPROTOOPT
|
+ errno = ENOPROTOOPT;
|
||||||
+ err(1, "set IPv6 traffic class not supported");
|
+ err(1, "set IPv6 traffic class not supported");
|
||||||
+ }
|
+ }
|
||||||
+#endif
|
+#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user