summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorHitoshi Irino <irino@sfc.wide.ad.jp>2019-05-05 20:35:52 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-05-08 08:48:26 +0900
commit7d2823d4c037caf39c7222632669210a4b6d1ed4 (patch)
treedb6523171ffe4f086629ec95108cfa2cc6766d43 /cmd
parentcc267fad9e6410705420af220d73d25d288e8a58 (diff)
zebra: supporting FRRouting version 7
- the "version" parameter (which means ZAPI) 6 in zebra config changes supporting FRRouting version 7 instead of FRRouting version 6. - the "software-name" parameter which supports backward compatibility is added in zebra config. (GoBGP support FRRouting version 6 when "version = 6" and "software-name = frr6" is configured.)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gobgpd/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go
index 546b4e47..015b0a4b 100644
--- a/cmd/gobgpd/main.go
+++ b/cmd/gobgpd/main.go
@@ -257,6 +257,7 @@ func main() {
NexthopTriggerEnable: c.Zebra.Config.NexthopTriggerEnable,
NexthopTriggerDelay: uint32(c.Zebra.Config.NexthopTriggerDelay),
MplsLabelRangeSize: uint32(c.Zebra.Config.MplsLabelRangeSize),
+ SoftwareName: c.Zebra.Config.SoftwareName,
}); err != nil {
log.Fatalf("failed to set zebra config: %s", err)
}