From 67ec049f25e299957fada55ea8738e0967547c6f Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 18 Feb 2011 00:51:49 +0100 Subject: port totd, the trick or treat daemon This is a simple DNS-ALG implementation used for NAT-PT & Co. --- package/totd/patches/patch-ne_mesg_c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/totd/patches/patch-ne_mesg_c (limited to 'package/totd/patches/patch-ne_mesg_c') diff --git a/package/totd/patches/patch-ne_mesg_c b/package/totd/patches/patch-ne_mesg_c new file mode 100644 index 000000000..db9633bec --- /dev/null +++ b/package/totd/patches/patch-ne_mesg_c @@ -0,0 +1,16 @@ + fix for verbose logging +--- totd-1.5.orig/ne_mesg.c 2002-12-10 23:31:18.000000000 +0100 ++++ totd-1.5/ne_mesg.c 2010-03-25 23:45:35.185664417 +0100 +@@ -470,6 +470,12 @@ u_char *dname_decompress (u_char *buf, i + + next = NULL; + written_len = token_len = 0; ++ ++ if (!m_head) ++ m_head = dname; ++ if (!m_tail) ++ m_tail = dname + buflen; ++ + for (cp = dname; *cp; cp += token_len) { + iter = 0; + top: -- cgit v1.2.3