diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-04-04 23:39:51 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-04-04 23:39:51 +0900 |
commit | 6d2fec2f4f86edc29a058b4971553fe48b1a7c7c (patch) | |
tree | e658d096eeb96d810d96a23992d2a8c472e2b43e | |
parent | dd23afaff4fdd47442be82318e5dc4556404b90d (diff) |
api: return error for invalid route family table
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | api/rest.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/rest.go b/api/rest.go index 3d62c5a5..1201abea 100644 --- a/api/rest.go +++ b/api/rest.go @@ -155,6 +155,7 @@ func (rs *RestServer) neighbor(w http.ResponseWriter, r *http.Request, reqType i rf = bgp.RF_EVPN default: NotFoundHandler(w, r) + return } } |