14 lines
332 B
Diff
14 lines
332 B
Diff
Index: arpwatch-3.6/dns.c
|
|
===================================================================
|
|
--- arpwatch-3.6.orig/dns.c
|
|
+++ arpwatch-3.6/dns.c
|
|
@@ -78,6 +78,8 @@ typedef union {
|
|
} querybuf;
|
|
#endif
|
|
|
|
+extern unsigned short _getshort(unsigned char*);
|
|
+
|
|
int
|
|
gethinfo(char *hostname, char *cpu, int cpulen, char *os, int oslen)
|
|
{
|