diff options
-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 12739ec6..3837333f 100644 --- a/table/path.go +++ b/table/path.go @@ -216,6 +216,8 @@ func (path *Path) ToApiStruct(id string) *api.Path { Validation: int32(path.OriginInfo().validation.ToInt()), Filtered: path.Filtered(id) == POLICY_DIRECTION_IN, Family: family, + SourceAsn: path.OriginInfo().source.AS, + SourceId: path.OriginInfo().source.ID.String(), } } |