summaryrefslogtreecommitdiffhomepage
path: root/table/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/path.go')
-rw-r--r--table/path.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/table/path.go b/table/path.go
index dd510692..622ba6d2 100644
--- a/table/path.go
+++ b/table/path.go
@@ -273,6 +273,7 @@ func (path *Path) ToApiStruct(id string) *api.Path {
Family: family,
SourceAsn: path.OriginInfo().source.AS,
SourceId: path.OriginInfo().source.ID.String(),
+ NeighborIp: path.OriginInfo().source.Address.String(),
Stale: path.IsStale(),
IsFromExternal: path.OriginInfo().isFromExternal,
}