summaryrefslogtreecommitdiffhomepage
path: root/server/zclient.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/zclient.go')
-rw-r--r--server/zclient.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/zclient.go b/server/zclient.go
index 87e303d4..1b37e5db 100644
--- a/server/zclient.go
+++ b/server/zclient.go
@@ -29,7 +29,7 @@ import (
)
func newIPRouteMessage(path *table.Path) *zebra.Message {
- if path.IsFromExternal() {
+ if path == nil || path.IsFromExternal() {
return nil
}
l := strings.SplitN(path.GetNlri().String(), "/", 2)