svn commit: r481203 - in head/net/mpd5: . files

Eugene Grosbein eugen at FreeBSD.org
Thu Oct 4 05:49:10 UTC 2018


Author: eugen
Date: Thu Oct  4 05:49:09 2018
New Revision: 481203
URL: https://svnweb.freebsd.org/changeset/ports/481203

Log:
  net/mpd5: import latest fix for "set iface mtu X override" from upstream

Modified:
  head/net/mpd5/Makefile
  head/net/mpd5/files/patch-mtu-override

Modified: head/net/mpd5/Makefile
==============================================================================
--- head/net/mpd5/Makefile	Thu Oct  4 04:08:42 2018	(r481202)
+++ head/net/mpd5/Makefile	Thu Oct  4 05:49:09 2018	(r481203)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mpd
 DISTVERSION=	5.8
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
 PKGNAMESUFFIX=	5

Modified: head/net/mpd5/files/patch-mtu-override
==============================================================================
--- head/net/mpd5/files/patch-mtu-override	Thu Oct  4 04:08:42 2018	(r481202)
+++ head/net/mpd5/files/patch-mtu-override	Thu Oct  4 05:49:09 2018	(r481203)
@@ -105,3 +105,17 @@ Index: src/iface.c
    snprintf(tcpmsscfg.inHook, sizeof(tcpmsscfg.inHook), "in");
    snprintf(tcpmsscfg.outHook, sizeof(tcpmsscfg.outHook), "out");
    if (NgSendMsg(gLinksCsock, path, NGM_TCPMSS_COOKIE, NGM_TCPMSS_CONFIG,
+Index: src/bund.c
+===================================================================
+--- src/bund.c	(revision 2253)
++++ src/bund.c	(revision 2254)
+@@ -328,7 +328,8 @@ BundJoin(Link l)
+ 
+     /* Configure this link */
+     b->pppConfig.links[l->bundleIndex].enableLink = 1;
+-    b->pppConfig.links[l->bundleIndex].mru = lcp->peer_mru;
++    b->pppConfig.links[l->bundleIndex].mru = b->iface.mtu_override ?
++	b->iface.mtu_override : lcp->peer_mru;
+     b->pppConfig.links[l->bundleIndex].enableACFComp = lcp->peer_acfcomp;
+     b->pppConfig.links[l->bundleIndex].enableProtoComp = lcp->peer_protocomp;
+     b->pppConfig.links[l->bundleIndex].bandwidth =


More information about the svn-ports-head mailing list