diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gobgpd/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go index c33a3593..ab42e71b 100644 --- a/cmd/gobgpd/main.go +++ b/cmd/gobgpd/main.go @@ -161,9 +161,8 @@ func main() { } loop := func() { - var c *internal_cfg.BgpConfigSet initialConfig := <-configCh - c = config.ApplyInitialConfig(bgpServer, initialConfig, opts.GracefulRestart) + c := config.ApplyInitialConfig(bgpServer, initialConfig, opts.GracefulRestart) for { select { case <-sigCh: |