arpwatch/arpwatch-2.1a15-hostname-buffer.patch
Pavel Simovec 1c00b8316b Increase hostname buffer
Resolves RHEL-5636
2024-01-24 15:05:11 +01:00

12 lines
294 B
Diff

--- a/db.c 2000-10-01 01:39:58.000000000 +0200
+++ b/db.c 2024-01-03 10:29:20.367656089 +0100
@@ -62,7 +62,7 @@
/* Ethernet info */
struct einfo {
u_char e[6]; /* ether address */
- char h[34]; /* simple hostname */
+ char h[64]; /* simple hostname */
time_t t; /* timestamp */
};