Hi Albert,

It seems likely that your "elename"'s processing() call is not
actually registering. Configurations like this should definitely work.

How to debug? Well, one guess is that you changed the element's
processing, but did not actually re-install the Click module, so your
click-install was running old code. Try `click-install -u`.

Other possibilities: From within elename's configure() method, print
out "this->Element::processing()" using click_chatter(). Is it "a/h"
as you expect?

Eddie


On Wed, May 29, 2013 at 12:32 AM, albert <[email protected]> wrote:
> Hi all,
> when i use click elements to construt a simple router, i encounter
> a weird problem.
>
> I implemented a simple element named elename, which has a agnostic input
> and at least one push output:
> /const char *processing() const { return "a/h"; }/
>
> In my configuration file, i connect the output of elename to the Strip
> element as following:
> ...-> q1::Queue -> elename -> strip :: Strip(14) -> check ::
> CheckIPHeader -> lookup::StaticIPLookup(..) -> ...
>
> when i install this configuration with click-install, the following
> problem occurs:
> 'strip :: Strip' pull output 0 connected to 'check :: CheckIPHeader'
> push input 0
>
>
> Anyway, when i install a similar configuration without elename element,
> i can install it successfully.
> Any advice?
>
> Thanks!
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to