Re: [IPFIX] Encoding of Boolean values in draft-ietf-ipfix-text-adt

Paul Aitken <[email protected]> Sat, 01 Mar 2014 17:14:56 +0000
Newsgroups gmane.ietf.ipfix
Message-ID <[email protected]>
Juergen,

>> Since there's potential for the 1/2 and "1"/"0" encodings to be confused, and
> How could they get confused?
> A "1" means true in both encodings.

No: as Brian pointed out, in one case it's the value 0x01 while in the 
other it's the value 0x31 (the ASCII code for a textual "1").

Given that so few of us noticed this suggests that it's a bad idea.

Also, what value means false? It's just too unclear.

P.

_______________________________________________
IPFIX mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ipfix