7d95763414
Split up the ubuntu patch OBS-URL: https://build.opensuse.org/request/show/197181 OBS-URL: https://build.opensuse.org/package/show/network:utilities/netcat-openbsd?expand=0&rev=12
22 lines
632 B
Diff
22 lines
632 B
Diff
Index: netcat-openbsd-1.89/netcat.c
|
|
===================================================================
|
|
--- netcat-openbsd-1.89.orig/netcat.c 2008-01-25 13:14:34.000000000 -0500
|
|
+++ netcat-openbsd-1.89/netcat.c 2008-01-25 13:15:49.000000000 -0500
|
|
@@ -937,6 +937,7 @@
|
|
void
|
|
help(void)
|
|
{
|
|
+ fprintf(stderr, "OpenBSD netcat (SUSE Linux)\n");
|
|
usage(0);
|
|
fprintf(stderr, "\tCommand Summary:\n\
|
|
\t-4 Use IPv4\n\
|
|
@@ -966,7 +967,7 @@
|
|
\t-x addr[:port]\tSpecify proxy address and port\n\
|
|
\t-z Zero-I/O mode [used for scanning]\n\
|
|
Port numbers can be individual or ranges: lo-hi [inclusive]\n");
|
|
- exit(1);
|
|
+ exit(0);
|
|
}
|
|
|
|
void
|