*** aspath.c.orig	Fri Apr  7 18:25:59 1995
--- aspath.c.fixed	Fri Apr  7 18:34:19 1995
***************
*** 1660,1666 ****
  		     * when the ASes are already sorted.
  		     */
  		    if (segtype == PA_PATH_SEQ) {
! 			if (lastsegtype != PA_PATH_SEQ) {
  			    *segp++ = (u_short)seglen;
  			    nseg--;
  			    lastsegtype = PA_PATH_SEQ;
--- 1660,1669 ----
  		     * when the ASes are already sorted.
  		     */
  		    if (segtype == PA_PATH_SEQ) {
! 			if (lastsegtype == PA_PATH_SEQ) {
! 			    /* Add this segment's length into the total */
! 			    segp[-1] += (u_short)seglen;
! 			} else {
  			    *segp++ = (u_short)seglen;
  			    nseg--;
  			    lastsegtype = PA_PATH_SEQ;


