freebsd-ports/net/l2tpd/files/patch-avp.c
Renato Botelho 20fb07058b - Fix build on >= 5.x
- Fix MASTER_SITES
- Patch for
http://www.freebsd.org/ports/portaudit/807b9ddd-dc11-11d8-9b0a-000347a4fa7d.html
(from debian project)

PR:		ports/84695
Submitted by:	Andrej Zverev <az@inec.ru>
Approved by:	maintainer (timeout, 40 days)
Security:	http://www.freebsd.org/ports/portaudit/807b9ddd-dc11-11d8-9b0a-000347a4fa7d.html
2005-09-19 17:37:17 +00:00

19 lines
663 B
C

--- avp.c.orig Mon Aug 19 19:39:27 2002
+++ avp.c Tue Aug 9 12:29:34 2005
@@ -15,7 +15,6 @@
#include <string.h>
#include <stdio.h>
#include <errno.h>
-#include <netinet/in.h>
#include "l2tp.h"
#define AVP_MAX 39
@@ -1608,7 +1607,7 @@
if (AMBIT (avp->length))
{
log (LOG_WARN,
- "%s: dont know how to handle mandatory attribute %d. Closing %s.\n"
+ "%s: dont know how to handle mandatory attribute %d. Closing %s.\n",
__FUNCTION__, avp->attr,
(c != t->self) ? "call" : "tunnel");
set_error (c, VENDOR_ERROR,