jaegonkim
Committed by Gerrit Code Review

ONOS-5261 BGP link descriptor cannot have multiple 'MultiTopologyId TLV'

Change-Id: I07647eb90e48cdc7008a94387a820f42855b1242
...@@ -166,7 +166,7 @@ public class BgpLinkLSIdentifier implements Comparable<Object> { ...@@ -166,7 +166,7 @@ public class BgpLinkLSIdentifier implements Comparable<Object> {
166 break; 166 break;
167 case BgpAttrNodeMultiTopologyId.ATTRNODE_MULTITOPOLOGY: 167 case BgpAttrNodeMultiTopologyId.ATTRNODE_MULTITOPOLOGY:
168 tlv = BgpAttrNodeMultiTopologyId.read(tempCb); 168 tlv = BgpAttrNodeMultiTopologyId.read(tempCb);
169 - count = count++; 169 + count++;
170 //MultiTopologyId TLV cannot repeat more than once 170 //MultiTopologyId TLV cannot repeat more than once
171 if (count > 1) { 171 if (count > 1) {
172 //length + 4 implies data contains type, length and value 172 //length + 4 implies data contains type, length and value
......