diff options
author | harti <harti@FreeBSD.org> | 2004-07-19 12:54:00 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-07-19 12:54:00 +0000 |
commit | 25712d3327b691e058d85b2d56ac6b1bdc7d93f7 (patch) | |
tree | d77d406e229ef0e5b03edd3c19c2c68d8eb33d76 /sys/netatm | |
parent | 96ca74bf7d8626623ce1a7611c4fe6cf261a5022 (diff) | |
download | FreeBSD-src-25712d3327b691e058d85b2d56ac6b1bdc7d93f7.zip FreeBSD-src-25712d3327b691e058d85b2d56ac6b1bdc7d93f7.tar.gz |
Fix a typo that could provoke a panic or access to random memory.
PR: kern/67012
Submitted by: Zhenmin <zli4@cs.uiuc.edu>
Diffstat (limited to 'sys/netatm')
-rw-r--r-- | sys/netatm/uni/unisig_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/uni/unisig_subr.c b/sys/netatm/uni/unisig_subr.c index f2b4c3c..faa7b0b 100644 --- a/sys/netatm/uni/unisig_subr.c +++ b/sys/netatm/uni/unisig_subr.c @@ -1207,7 +1207,7 @@ unisig_set_attrs(usp, msg, ap) bcopy(&ie_cgad_absent, &msg->msg_ie_cgad->ie_u.ie_cgad, sizeof(ie_cgad_absent)); - msg->msg_ie_cgsa->ie_ident = UNI_IE_CGSA; + msg->msg_ie_cgad->ie_ident = UNI_IE_CGAD; ATM_ADDR_COPY(&ap->calling.addr, &msg->msg_ie_cgad->ie_cgad_addr); |