summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r--gobgpd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index 99a1c95c..17fcbf81 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -439,7 +439,7 @@ func main() {
}
}
case <-sigCh:
- bgpServer.Shutdown()
+ apiServer.Shutdown(context.Background(), &api.ShutdownRequest{})
}
}
}