ie: add macro for calculating an IE's length
All over the place we do "ie[1] + 2" for getting the IE length. It is much clearer to use a macro to do this. The macro also checks for NULL, and returns zero in this case.
This commit is contained in:
parent
c18b1289a5
commit
922e10e82c
Loading…
Reference in New Issue