In message <21881.57848.956801.244...@gro.dd.org>, Dave Lawrence writes:
> Mark Andrews writes:
> > why is the last sentence here with a SHOULD.
> 
> It technically doesn't hurt anything to include them, because the
> option length field of the opt rdata tells you how long the variable
> part is.  If there is an important technical reason that MUST is
> required here for interoperability I'm happy to change it, but it does
> not appear to be a fundamental requirement.

Well it makes extra work for parsers for no good reason.

10.0.0.0/7 requires checking 3 extra octets for all zeros.  Thats
additional code that needs to be written to cover the SHOULD that
doesn't need to be written to cover a MUST.

> >    o  ADDRESS, variable number of octets, contains either an IPv4 or
> >       IPv6 address, depending on FAMILY, truncated to the number of bits
> >       indicated by the SOURCE PREFIX-LENGTH field, with bits set to 0 to
> >       pad to the end of the last octet needed.  Trailing all-zero octets
> >       SHOULD be omitted.
> 
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: ma...@isc.org

_______________________________________________
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop

Reply via email to