diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/config/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go index 4a4394df..b369760b 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -13,6 +13,10 @@ import ( "github.com/osrg/gobgp/pkg/server" ) +func ReadConfigFile(configFile, configType string) (*config.BgpConfigSet, error) { + return config.ReadConfigfile(configFile, configType) +} + func marshalRouteTargets(l []string) ([]*any.Any, error) { rtList := make([]*any.Any, 0, len(l)) for _, rtString := range l { |