summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/lib.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sources/lib.md')
-rw-r--r--docs/sources/lib.md8
1 files changed, 0 insertions, 8 deletions
diff --git a/docs/sources/lib.md b/docs/sources/lib.md
index ad1e257c..479f7d1e 100644
--- a/docs/sources/lib.md
+++ b/docs/sources/lib.md
@@ -40,10 +40,6 @@ func main() {
},
}
- if err := config.SetDefaultGlobalConfigValues(global); err != nil {
- log.Fatal(err)
- }
-
if err := s.Start(global); err != nil {
log.Fatal(err)
}
@@ -56,10 +52,6 @@ func main() {
},
}
- if err := config.SetDefaultNeighborConfigValues(n, global.Config.As); err != nil {
- log.Fatal(err)
- }
-
if err := s.AddNeighbor(n); err != nil {
log.Fatal(err)
}