summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/config/config.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go
index e6ef0d20..b369760b 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -17,12 +17,6 @@ func ReadConfigFile(configFile, configType string) (*config.BgpConfigSet, error)
return config.ReadConfigfile(configFile, configType)
}
-func ReadConfigFileOnSighup(configFile, configType string) chan *config.BgpConfigSet {
- ch := make(chan *config.BgpConfigSet)
- go config.ReadConfigfileServe(configFile, configType, ch)
- return ch
-}
-
func marshalRouteTargets(l []string) ([]*any.Any, error) {
rtList := make([]*any.Any, 0, len(l))
for _, rtString := range l {