summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
authorToshiki Tsuboi <t.tsubo2000@gmail.com>2015-10-11 06:36:07 +0900
committerToshiki Tsuboi <t.tsubo2000@gmail.com>2015-10-11 06:36:07 +0900
commit7b350a733cd7e716c62d854016a2b4f5ad745de4 (patch)
tree4f62002de74c2ac5067104594131e31f19c7d11c /server/server.go
parente832aeaf9b2b942ff39c36c85b736b13531af36f (diff)
cli: fix vrf add command
Correct mistakes of Export RT
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index cc5349a8..c7e22475 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1141,7 +1141,7 @@ func (server *BgpServer) handleVrfMod(arg *api.ModVrfArguments) ([]*table.Path,
if err != nil {
return nil, err
}
- exportRt, err := f(arg.Vrf.ImportRt)
+ exportRt, err := f(arg.Vrf.ExportRt)
if err != nil {
return nil, err
}