Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2023 22:34:28 GMT
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 40a79f26978b - stable/13 - sctp: fix parameter type in NAT status message
Message-ID:  <202302012234.311MYS7q087255@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=40a79f26978b54f48955c7f208c5c34ab28969d7

commit 40a79f26978b54f48955c7f208c5c34ab28969d7
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-04-13 17:46:28 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2023-02-01 22:34:05 +0000

    sctp: fix parameter type in NAT status message
    
    Thanks to Sriram Yagnaraman for providing the patch for the
    userland stack.
    
    (cherry picked from commit 595ac4a11893971ba17a51e0477d580e29e1ef7a)
---
 sys/netinet/sctp_asconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/sctp_asconf.c b/sys/netinet/sctp_asconf.c
index a4457471410e..675530c65fb6 100644
--- a/sys/netinet/sctp_asconf.c
+++ b/sys/netinet/sctp_asconf.c
@@ -3336,7 +3336,7 @@ out:
 		aa_add->ap.addrp.ph.param_type = SCTP_IPV4_ADDRESS;
 		aa_add->ap.addrp.ph.param_length = sizeof(struct sctp_ipv4addr_param);
 		/* No need to fill the address, we are using 0.0.0.0 */
-		aa_del->ap.aph.ph.param_type = SCTP_ADD_IP_ADDRESS;
+		aa_del->ap.aph.ph.param_type = SCTP_DEL_IP_ADDRESS;
 		aa_del->ap.aph.ph.param_length = sizeof(struct sctp_asconf_addrv4_param);
 		aa_del->ap.addrp.ph.param_type = SCTP_IPV4_ADDRESS;
 		aa_del->ap.addrp.ph.param_length = sizeof(struct sctp_ipv4addr_param);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302012234.311MYS7q087255>