On Mon, Mar 07, 2016 at 05:38:59PM -0800, Justin Pettit wrote:
>
> > On Mar 7, 2016, at 11:18 AM, Ben Pfaff wrote:
> >
> > +/* Modifies 'match' so that the MPLS TTL is wildcarded. */
> > +void
> > +match_set_any_mpls_ttl(struct match *match, int idx)
> > +{
> > +
> On Mar 7, 2016, at 11:18 AM, Ben Pfaff wrote:
>
> +/* Modifies 'match' so that the MPLS TTL is wildcarded. */
> +void
> +match_set_any_mpls_ttl(struct match *match, int idx)
> +{
> +match->wc.masks.mpls_lse[idx] &= ~htonl(MPLS_TTL_MASK);
> +flow_set_mpls_ttl(>flow, idx,
Occasionally we get asked about this and I don't see a reason not to
support it.
Signed-off-by: Ben Pfaff
---
NEWS | 1 +
lib/match.c | 19 ++-
lib/match.h | 4 +++-
lib/meta-flow.c | 20
lib/meta-flow.h | 15