diff options
Diffstat (limited to 'table/path.go')
-rw-r--r-- | table/path.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/table/path.go b/table/path.go index bcf5b4ce..3cebdb96 100644 --- a/table/path.go +++ b/table/path.go @@ -393,6 +393,8 @@ func (path *Path) getAsListofSpecificType(getAsSeq, getAsSet bool) []uint32 { } if getAsSet && segment.Type == bgp.BGP_ASPATH_ATTR_TYPE_SET { asList = append(asList, segment.AS...) + } else { + asList = append(asList, 0) } } } |