summaryrefslogtreecommitdiffhomepage
path: root/zebra
diff options
context:
space:
mode:
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zapi.go b/zebra/zapi.go
index 189b5733..cd1705e1 100644
--- a/zebra/zapi.go
+++ b/zebra/zapi.go
@@ -365,7 +365,7 @@ func (c *Client) SendRedistributeDelete(t ROUTE_TYPE) error {
return e
}
} else {
- fmt.Errorf("unknown route type: %d", t)
+ return fmt.Errorf("unknown route type: %d", t)
}
return nil
}