diff options
Diffstat (limited to 'table/path.go')
-rw-r--r-- | table/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/path.go b/table/path.go index 05144812..94bc5fd0 100644 --- a/table/path.go +++ b/table/path.go @@ -208,7 +208,7 @@ func (path *Path) ToApiStruct(id string) *api.Path { Pattrs: pattrs, Age: int64(time.Now().Sub(path.timestamp).Seconds()), IsWithdraw: path.IsWithdraw, - Validation: int32(path.Validation), + Validation: int32(path.Validation.ToInt()), Filtered: path.Filtered(id) > POLICY_DIRECTION_NONE, Family: family, } |