summaryrefslogtreecommitdiff
path: root/src/bgpstore.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bgpstore.lisp')
-rw-r--r--src/bgpstore.lisp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/bgpstore.lisp b/src/bgpstore.lisp
index 2afa210..5abc348 100644
--- a/src/bgpstore.lisp
+++ b/src/bgpstore.lisp
@@ -1,9 +1,12 @@
+;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+
(defun start-bgpstore (host port)
(let ((reader (new-reader host port)))
(do ((e (next-xml-blurb reader "BGP_MESSAGE")
(next-xml-blurb reader "BGP_MESSAGE")))
- (e)
- (dolist (obj (new-entries e))
- (print (describe obj))))))
+ ((null e))
+ (dolist (obj (new-entries (xml-top-elem-from-octets e)))
+ (insert-dao obj)))
+ (close-reader)))
(defun stop-bgpstore ())