Hi - 

This fixes a config error in PaintTee.  It was crashing click with a
variety of memory errors while running on 2.6.24.

Barret


---
 elements/standard/painttee.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/elements/standard/painttee.cc
b/elements/standard/painttee.cc index e5d8b28..a65afd3 100644
--- a/elements/standard/painttee.cc
+++ b/elements/standard/painttee.cc
@@ -36,7 +36,7 @@ PaintTee::configure(Vector<String> &conf,
ErrorHandler *errh) {
     int anno = PAINT_ANNO_OFFSET;
     if (cp_va_kparse(conf, this, errh,
-                    "COLOR", cpkP+cpkM, cpUnsigned, &_color,
+                    "COLOR", cpkP+cpkM, cpByte, &_color,
                     "ANNO", cpkP, cpAnno, 1, &anno,
                     cpEnd) < 0)
        return -1;
-- 
1.5.6.4

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to