From 05f952aaeab322ea183c628f51ecf37354b3ce76 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Fri, 12 Jan 2018 09:03:49 +0000 Subject: net/openbgpd: Add patches to allow use of TCPMD5 options - For additional details, see this post from 2013: http://lists.freebsd.org/pipermail/freebsd-net/2013-November/037133.html - Please note that this patch is used by pfsense - related changes in the base system have already been integrated, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220170 PR: 184545 Submitted by: anarcat@koumbit.org, eksffa@freebsdbrasil.com.br, garga@FreeBSD.org Reviewed by: mykel@mware.ca Approved by: hrs (maintainer timeout) --- net/openbgpd/files/patch-bgpd_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/openbgpd/files/patch-bgpd_session.c') diff --git a/net/openbgpd/files/patch-bgpd_session.c b/net/openbgpd/files/patch-bgpd_session.c index d043c447cf48..66c05a92aec0 100644 --- a/net/openbgpd/files/patch-bgpd_session.c +++ b/net/openbgpd/files/patch-bgpd_session.c @@ -123,7 +123,7 @@ diff -u -p -r1.1.1.8 -r1.13 + int s; + + /* Check if TCP_MD5SIG is supported. */ -+ s = socket(PF_LOCAL, SOCK_STREAM, 0); ++ s = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); + if (s < 0) + fatal("socket open for TCP_MD5SIG check"); + opt = TF_SIGNATURE; -- cgit v1.2.3