1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Update to 1.5.0.

Submitted by:	maintainer
This commit is contained in:
Daniel Harris 2004-06-30 15:56:23 +00:00
parent 850fb8b35c
commit 6d6b0141d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112622
3 changed files with 15 additions and 4 deletions

View File

@ -6,11 +6,11 @@
#
PORTNAME= pptpclient
PORTVERSION= 1.3.1
PORTVERSION= 1.5.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pptpclient
DISTNAME= pptp-linux-1.3.1
DISTNAME= pptp-linux-1.5.0
MAINTAINER= thomas@cuivre.fr.eu.org
COMMENT= PPTP client for establishing a VPN link with an NT server

View File

@ -1,2 +1,2 @@
MD5 (pptp-linux-1.3.1.tar.gz) = b24ca05422c0e62d7a26edbbec604a89
SIZE (pptp-linux-1.3.1.tar.gz) = 215987
MD5 (pptp-linux-1.5.0.tar.gz) = 281ee37788bdf3260426eca56a9af858
SIZE (pptp-linux-1.5.0.tar.gz) = 223317

View File

@ -0,0 +1,11 @@
--- pptp_gre.c.orig Tue Jun 22 15:10:30 2004
+++ pptp_gre.c Tue Jun 22 15:10:38 2004
@@ -200,7 +200,7 @@
int optval, optlen = sizeof(optval);
warn("transmitted GRE packet triggered an ICMP destination unreachable, fragmentation needed, or exceeds the MTU of the network interface");
#define IP_MTU 14
- if(getsockopt(fd, SOL_IP, IP_MTU, &optval, &optlen) < 0)
+ if(getsockopt(fd, IPPROTO_IP, IP_MTU, &optval, &optlen) < 0)
warn("getsockopt: %s", strerror(errno));
warn("getsockopt: IP_MTU: %d\n", optval);
return 0;