summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-10-31 20:08:03 +0000
committerphk <phk@FreeBSD.org>1998-10-31 20:08:03 +0000
commit28cb0770f0ce0fd47e82d9431e472799f215565a (patch)
tree47c13ba0fc72357e51bf4955f11c1739438d07d9 /sys/netatm/uni
parentef1becbf8e39d56b501bb722279f9b3cddb9713b (diff)
downloadFreeBSD-src-28cb0770f0ce0fd47e82d9431e472799f215565a.zip
FreeBSD-src-28cb0770f0ce0fd47e82d9431e472799f215565a.tar.gz
Set BLLI Layer 2 protocol field when using a 'User specified' protocol.
Submitted by: Mike Spengler <mks@networkcs.com>
Diffstat (limited to 'sys/netatm/uni')
-rw-r--r--sys/netatm/uni/unisig_subr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netatm/uni/unisig_subr.c b/sys/netatm/uni/unisig_subr.c
index 2152044..18e0fa1 100644
--- a/sys/netatm/uni/unisig_subr.c
+++ b/sys/netatm/uni/unisig_subr.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: unisig_subr.c,v 1.2 1998/09/17 09:35:02 phk Exp $
+ * @(#) $Id: unisig_subr.c,v 1.3 1998/10/31 20:07:01 phk Exp $
*
*/
@@ -42,7 +42,7 @@
#include <netatm/uni/unisig_msg.h>
#ifndef lint
-__RCSID("@(#) $Id: unisig_subr.c,v 1.2 1998/09/17 09:35:02 phk Exp $");
+__RCSID("@(#) $Id: unisig_subr.c,v 1.3 1998/10/31 20:07:01 phk Exp $");
#endif
@@ -1048,6 +1048,8 @@ unisig_set_attrs(usp, msg, ap)
ap->blli.v.layer_2_protocol.ID.simple_ID;
break;
case T_ATM_USER_ID:
+ msg->msg_ie_blli->ie_blli_l2_id =
+ UNI_IE_BLLI_L2P_USER;
msg->msg_ie_blli->ie_blli_l2_user_proto =
ap->blli.v.layer_2_protocol.ID.user_defined_ID;
break;
OpenPOWER on IntegriCloud