[Click] [PATCH] Fix invalid argument ToHost::configure()

JoonwooPark jason at geninetworks.com
Thu Aug 30 04:15:46 EDT 2007


Hi,
The ToHost::configure() in git repo has invaild argument.

Signed-off-by: Jason Park (Joonwoo Park) <jason at geninetworks.com>
---

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

diff --git a/elements/linuxmodule/tohost.cc
b/elements/linuxmodule/tohost.cc
index f6ed985..2842d29 100644
--- a/elements/linuxmodule/tohost.cc
+++ b/elements/linuxmodule/tohost.cc
@@ -76,7 +76,7 @@ ToHost::configure(Vector<String> &conf, ErrorHandler
*errh)
 		    cpString, "device name", &_devname,
 		    cpKeywords,
 		    "SNIFFERS", cpBool, "send packets to sniffers only?", &_sniffers,
-		    "QUIET", "suppress up/down messages?", &quiet,
+		    "QUIET", cpBool, "suppress up/down messages?", &quiet,
 		    "ALLOW_NONEXISTENT", cpBool, "allow nonexistent device?",
&allow_nonexistent,
 		    cpEnd) < 0)
 	return -1;
-

Jason Park (Joonwoo Park).



More information about the click mailing list