summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
Diffstat (limited to 'table')
-rw-r--r--table/policy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/policy.go b/table/policy.go
index 2a97e42b..7369a823 100644
--- a/table/policy.go
+++ b/table/policy.go
@@ -1987,7 +1987,7 @@ func (s *Statement) ToApiStruct() *api.Statement {
}
}
as := &api.Actions{}
- if s.RouteAction != nil {
+ if s.RouteAction != nil && !reflect.ValueOf(s.RouteAction).IsNil() {
as.RouteAction = s.RouteAction.(*RoutingAction).ToApiStruct()
}
for _, a := range s.ModActions {