[Click] Small DynamicUDPIPEncap configuration bug

Eddie Kohler kohler at cs.ucla.edu
Tue Feb 19 17:30:52 EST 2008


Yep, that's exactly right.  Thanks!

Eddie


Bart Braem wrote:
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list