[mpls-linux-general] PDU length
Status: Beta
Brought to you by:
jleu
|
From: Kunihiro I. <kun...@ze...> - 2001-04-30 12:18:24
|
Almost same thing for PDU length.
--
Kunihiro Ishiguro
Index: ldp_buf.c
===================================================================
RCS file: /cvsroot/mpls-linux/ldp-portable/lib/ldp_buf.c,v
retrieving revision 1.1
diff -c -r1.1 ldp_buf.c
*** ldp_buf.c 2001/04/24 10:59:50 1.1
--- ldp_buf.c 2001/04/30 12:16:31
***************
*** 108,114 ****
}
msg->header.protocolVersion = 1;
! msg->header.pduLength = body_size;
msg->header.lsrAddress = lsraddr;
msg->header.labelSpace = label_space;
--- 108,114 ----
}
msg->header.protocolVersion = 1;
! msg->header.pduLength = body_size + MPLS_LDPIDLEN;
msg->header.lsrAddress = lsraddr;
msg->header.labelSpace = label_space;
|