Ben's favorite kind of patch right here. You can thank me later. Ethan
On Thu, Jul 21, 2011 at 15:58, Ethan Jackson <[email protected]> wrote: > --- > lib/nx-match.c | 2 +- > lib/nx-match.h | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/lib/nx-match.c b/lib/nx-match.c > index f66c655..3712781 100644 > --- a/lib/nx-match.c > +++ b/lib/nx-match.c > @@ -345,7 +345,7 @@ parse_nxm_entry(struct cls_rule *rule, const struct > nxm_field *f, > /* IPv6 Neighbor Discovery. */ > case NFI_NXM_NX_ND_TARGET: > /* We've already verified that it's an ICMPv6 message. */ > - if ((flow->tp_src != htons(ND_NEIGHBOR_SOLICIT)) > + if ((flow->tp_src != htons(ND_NEIGHBOR_SOLICIT)) > && (flow->tp_src != htons(ND_NEIGHBOR_ADVERT))) { > return NXM_BAD_PREREQ; > } > diff --git a/lib/nx-match.h b/lib/nx-match.h > index a76ad1f..b2260b1 100644 > --- a/lib/nx-match.h > +++ b/lib/nx-match.h > @@ -97,8 +97,8 @@ nxm_decode_n_bits(ovs_be16 ofs_nbits) > * NXM_OF_IPV6_DST_W 4 16 16 36 > * NXM_OF_ICMP_TYPE 4 1 -- 5 > * NXM_OF_ICMP_CODE 4 1 -- 5 > - * NXM_NX_ND_TARGET 4 16 -- 20 > - * NXM_NX_ND_SLL 4 6 -- 10 > + * NXM_NX_ND_TARGET 4 16 -- 20 > + * NXM_NX_ND_SLL 4 6 -- 10 > * NXM_NX_REG_W(0) 4 4 4 12 > * NXM_NX_REG_W(1) 4 4 4 12 > * NXM_NX_REG_W(2) 4 4 4 12 > -- > 1.7.6 > > _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
