FreeBSD Bugzilla – Attachment 182147 Details for
Bug 218907
tcpmd5 kernel module on STABLE/11 doesn't work with vultr bgp via bird
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Proposed patch
patch-setkey.h (text/x-chdr), 776 bytes, created by
Andrey V. Elsukov
on 2017-04-28 09:28:04 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Andrey V. Elsukov
Created:
2017-04-28 09:28:04 UTC
Size:
776 bytes
patch
obsolete
>--- sysdep/bsd/setkey.h.orig 2017-04-28 12:21:39.616325000 +0300 >+++ sysdep/bsd/setkey.h 2017-04-28 12:20:57.712621000 +0300 >@@ -160,10 +160,14 @@ sk_set_md5_in_sasp_db(sock *s, ip_addr local, ip_addr > > if (setkey_md5(&src, &dst, passwd, SADB_ADD) < 0) > ERR_MSG("Cannot add TCP-MD5 password into the IPsec SA/SP database"); >+ if (setkey_md5(&dst, &src, passwd, SADB_ADD) < 0) >+ ERR_MSG("Cannot add TCP-MD5 password into the IPsec SA/SP database"); > } > else > { > if (setkey_md5(&src, &dst, NULL, SADB_DELETE) < 0) >+ ERR_MSG("Cannot delete TCP-MD5 password from the IPsec SA/SP database"); >+ if (setkey_md5(&dst, &src, NULL, SADB_DELETE) < 0) > ERR_MSG("Cannot delete TCP-MD5 password from the IPsec SA/SP database"); > } > return 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 218907
:
182147
|
182826
|
182827