aboutsummaryrefslogtreecommitdiff
path: root/net/nsping/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/nsping/files')
-rw-r--r--net/nsping/files/patch-aa17
-rw-r--r--net/nsping/files/patch-ab28
2 files changed, 0 insertions, 45 deletions
diff --git a/net/nsping/files/patch-aa b/net/nsping/files/patch-aa
deleted file mode 100644
index 6b3d4f607e20..000000000000
--- a/net/nsping/files/patch-aa
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig Mon Nov 24 04:56:28 1997
-+++ Makefile Fri Nov 12 15:53:26 1999
-@@ -1,4 +1,4 @@
--CFLAGS= -g
-+#CFLAGS= -g
- #Solaris
- #CFLAGS= -g -Dsys5
- LDFLAGS=
-@@ -10,6 +10,8 @@
- OBJS= nsping.o dns-lib.o dns-rr.o
- SRCS= nsping.c dns-lib.c dns-rr.c
- HEADERS= nsping.h dns-lib.h dns-rr.h
-+
-+all: ${TARGET}
-
- ${TARGET} : ${OBJS}
- ${CC} ${CFLAGS} -o ${TARGET} ${OBJS} ${LDFLAGS} ${LIBS}
diff --git a/net/nsping/files/patch-ab b/net/nsping/files/patch-ab
deleted file mode 100644
index 970acc7d39cc..000000000000
--- a/net/nsping/files/patch-ab
+++ /dev/null
@@ -1,28 +0,0 @@
---- nsping.c.orig Fri Nov 12 15:30:42 1999
-+++ nsping.c Fri Nov 12 15:44:06 1999
-@@ -189,10 +189,14 @@
-
- int guess_zone() {
- char lhn[MAXDNAME];
-+ struct hostent *hp;
- char *cp;
-
- if(gethostname(lhn, MAXDNAME) < 0)
- return(0);
-+ if((hp = gethostbyname(lhn)) == NULL)
-+ return(0);
-+ strlcpy(lhn, hp->h_name, sizeof(lhn));
-
- cp = strchr(lhn, '.');
- if(!cp || !(*(++cp)))
-@@ -679,9 +683,7 @@
- /* -------------------------------------------------------------------------- */
-
- void usage() {
-- fprintf(stderr, "nsping [ -z <zone> | -h <hostname> ] -p <port> -t <timeout>\n"
-- "\t\t-a <local address> -P <local port>\n"
-- "\t\t-T <type> <-r | -R, recurse?>\n");
-+ fprintf(stderr, "Usage: nsping [-dR] [-c count] [-z zone | -h hostname] [-t timeout] [-p dport] [-P sport] [-a saddr] [-T querytype]\n");
- return;
- }
-