[Click] Small DynamicUDPIPEncap configuration bug

Bart Braem bart.braem at ua.ac.be
Mon Feb 18 08:03:37 EST 2008


Dear,

The example configuration of DynamicUDPIPEncap currently does not work, you 
always get "too many arguments". This does work:
DynamicUDPIPEncap(1.0.0.1, 1234, 2.0.0.2, 1234, CHECKSUM 1, INTERVAL 10)

If I understand the new cp_va_kparse function correctly, this can be solved by 
replacing the last 0's with cpkP to remove the requirement of keywords, so 
these rules in the configure method are:
		   "CHECKSUM", cpkP, cpBool, &do_cksum,
		   "INTERVAL", cpkP, cpUnsigned, &_interval,

Regards,
Bart
-- 
Bart Braem
PATS research group - IBBT
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.30
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.32.91
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be/bart.braem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part.
Url : https://pdos.csail.mit.edu/pipermail/click/attachments/20080218/997aa2d6/attachment.pgp 


More information about the click mailing list