opnsense-ports/ftp/tftp-hpa/files/patch-tftp_tftp.c
Franco Fichtner 2e3f4b63ca */*: sync with upstream
Taken from: HardenedBSD
2020-09-12 17:33:33 +02:00

11 lines
283 B
C

--- tftp/tftp.c.orig 2011-12-11 22:13:52 UTC
+++ tftp/tftp.c
@@ -48,7 +48,7 @@ extern int maxtimeout;
#define PKTSIZE SEGSIZE+4
char ackbuf[PKTSIZE];
int timeout;
-sigjmp_buf toplevel;
+extern sigjmp_buf toplevel;
sigjmp_buf timeoutbuf;
static void nak(int, const char *);