summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--api/rest.go1
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
}
}