From e1bec970c309084569a2f39621f90bc5e6ddb171 Mon Sep 17 00:00:00 2001 From: Hiroshi Yokoi Date: Wed, 21 Oct 2015 13:41:49 +0900 Subject: zebra: return error Signed-off-by: Hiroshi Yokoi --- zebra/zapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/zapi.go') 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 } -- cgit v1.2.3