diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2018-01-12 09:03:49 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2018-01-12 09:03:49 +0000 |
commit | 05f952aaeab322ea183c628f51ecf37354b3ce76 (patch) | |
tree | ce0fe774034b549445cb89f5a33596b1057ad8c4 /net/openbgpd/files/patch-bgpd_session.c | |
parent | - Update WWW (diff) |
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)
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_session.c')
-rw-r--r-- | net/openbgpd/files/patch-bgpd_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |