summaryrefslogtreecommitdiffhomepage
path: root/gobgpd
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-08-04 17:05:57 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-08-14 07:51:42 +0900
commit411bf84633c6a88fa1d08b5238d74b55910cffd1 (patch)
treee6d9d399bcb82f0245fabe011e0d08ea11b137f0 /gobgpd
parentd4b8a858299acc7164f452c8aa4180695252f38e (diff)
support mrt table dump (TABLE_DUMPv2 format)
Only global rib dumping is supported for now. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'gobgpd')
-rw-r--r--gobgpd/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index aca52a7e..3e05d6a8 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -232,10 +232,10 @@ func main() {
}
}
for _, c := range newConfig.MrtDump {
- if len(c.FileName) == 0 {
+ if len(c.Config.FileName) == 0 {
continue
}
- if err := bgpServer.EnableMrt(&c); err != nil {
+ if err := bgpServer.EnableMrt(&c.Config); err != nil {
log.Fatalf("failed to set mrt config: %s", err)
}
}