summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorCarl Baldwin <carl@ecbaldwin.net>2019-07-24 09:02:10 -0600
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-08-28 09:06:20 +0900
commitf9b1f86a0a105d4ee63cc8757115cd62d4a4f84b (patch)
tree31e1d28e3742ba8e97c1b713f55f998bb26c7e98 /cmd
parente88cfd44d75e7eec6a9bd1e289496afae504549d (diff)
Remove a reference to internal
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gobgpd/main.go3
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: