summaryrefslogtreecommitdiff
path: root/ebus-racket/dumper.rkt
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-07-26 20:15:03 +0200
committerYves Fischer <yvesf-git@xapek.org>2014-07-26 20:15:03 +0200
commit99c6eb21eb7ff9a072b87d9d64324871ea7201f1 (patch)
treea10f6469ce898d518955ee85cf367c8a2af77b29 /ebus-racket/dumper.rkt
parent773093acabfb84b88c37bb0342d6a8d4a6f8267a (diff)
downloadebus-alt-99c6eb21eb7ff9a072b87d9d64324871ea7201f1.tar.gz
ebus-alt-99c6eb21eb7ff9a072b87d9d64324871ea7201f1.zip
fix logging, re-enable dumper layer7 output
Diffstat (limited to 'ebus-racket/dumper.rkt')
-rwxr-xr-xebus-racket/dumper.rkt17
1 files changed, 9 insertions, 8 deletions
diff --git a/ebus-racket/dumper.rkt b/ebus-racket/dumper.rkt
index 62ca64e..95081d1 100755
--- a/ebus-racket/dumper.rkt
+++ b/ebus-racket/dumper.rkt
@@ -1,10 +1,11 @@
#! /usr/bin/env racket
#lang racket/base
-(require racket/cmdline
- racket/tcp
- racket/pretty
- "ebus/layer2.rkt"
- "ebus/layer7.rkt")
+(require
+ racket/cmdline
+ racket/tcp
+ racket/pretty
+ "ebus/layer2.rkt"
+ "ebus/layer7.rkt")
;(define verbose? (make-parameter #f))
(define connect-host? (make-parameter null))
@@ -38,9 +39,9 @@
(define (read-ebus-loop7 input-port)
(let ([fields (layer7-read-ebus (current-input-port))])
- ;(if (not (void? fields))
- ;(pretty-print fields)
- ;(display ""))
+ (if (not (void? fields))
+ (pretty-print fields)
+ (display ""))
(cond ((not (eof-object? fields)) (read-ebus-loop7 input-port)))))
(if (layer7?)