summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--api/rest.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/rest.go b/api/rest.go
index 656b5583..3d62c5a5 100644
--- a/api/rest.go
+++ b/api/rest.go
@@ -151,6 +151,8 @@ func (rs *RestServer) neighbor(w http.ResponseWriter, r *http.Request, reqType i
rf = bgp.RF_IPv4_UC
case "ipv6":
rf = bgp.RF_IPv6_UC
+ case "evpn":
+ rf = bgp.RF_EVPN
default:
NotFoundHandler(w, r)
}