Re: I thought this would be illegal

Cliff Frey <[email protected]> Sun, 10 Mar 2013 17:22:03 -0700
Newsgroups gmane.network.routing.click
Message-ID <CAFtVOqnk6ofuP2iNyHwkH-5Fc-7g6JRsJjtiqfkHN-uRixLQmQ@mail.gmail.com>
Yeah, I believe that you understand this correctly.  Even if the flow code
is "x/x", this could theoretically make some sense on an element that had a
chance of dropping the packet (i.e. a DecIPTTL or RandomSample element).

On Sun, Mar 10, 2013 at 3:28 PM, Lars Bro <[email protected]> wrote:

> Hi,
>
> I thought that Click would deny the following construct
>
> m::MyElement()
> m[0] -> [0]m;
>
> in the case where flow_code() would be "x/x"
>
> but allow it if flow_code() were "x/y"
>
>
> But it seems to me that flow_code is only used for Router::downstream and
> upstream methods. Is that correctly understood?
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>