diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-10-20 20:55:49 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-10-20 20:55:49 +0900 |
commit | e61a344e69cdc156ec32eced0267976e90fcfb2b (patch) | |
tree | 9a777f476caf76352a2c83c1bcfd517a87e92347 /gobgpd | |
parent | ff1312613fe295dab0479a6053ad5700c88ba636 (diff) |
server: kill unnecessary code
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'gobgpd')
-rw-r--r-- | gobgpd/main.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go index 1b5cd959..4f44e328 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -184,6 +184,14 @@ func main() { if policyConfig == nil { policyConfig = &newConfig.Policy + // FIXME: Currently the following code + // is safe because the above + // SetRpkiConfig will be blocked + // because the length of rpkiConfigCh + // is zero. So server.GlobalRib is + // allocated before the above + // SetPolicy. But this should be + // handled more cleanly. if err := bgpServer.SetPolicy(newConfig.Policy); err != nil { log.Fatal(err) } |