Upstream fix for #85

https://code.google.com/p/dpkt/issues/detail?id=85