summaryrefslogtreecommitdiffstats
path: root/net-mgmt/arpwatch-devel/files/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/arpwatch-devel/files/patch-ar')
-rw-r--r--net-mgmt/arpwatch-devel/files/patch-ar33
1 files changed, 0 insertions, 33 deletions
diff --git a/net-mgmt/arpwatch-devel/files/patch-ar b/net-mgmt/arpwatch-devel/files/patch-ar
deleted file mode 100644
index 222fcde..0000000
--- a/net-mgmt/arpwatch-devel/files/patch-ar
+++ /dev/null
@@ -1,33 +0,0 @@
---- dns.c.orig Fri Oct 13 21:50:52 2000
-+++ dns.c Tue Apr 13 14:39:50 2004
-@@ -137,7 +137,7 @@
- return (0);
- }
-
--/* Return the cannonical name of the host */
-+/* Return the canonical name of the host (NULL if not found) */
- char *
- gethname(u_int32_t a)
- {
-@@ -150,18 +150,18 @@
- hp = gethostbyaddr((char *)&a, sizeof(a), AF_INET);
- _res.options = options;
- if (hp == NULL)
-- return (intoa(a));
-+ return NULL;
- return (hp->h_name);
- }
-
--/* Return the simple name of the host */
-+/* Return the simple name of the host (NULL if not found) */
- char *
- getsname(register u_int32_t a)
- {
- register char *s, *cp;
-
- s = gethname(a);
-- if (!isdigit((int)*s)) {
-+ if (s != NULL) {
- cp = strchr(s, '.');
- if (cp != NULL)
- *cp = '\0';
OpenPOWER on IntegriCloud