Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: jicmp-1.2.0
-
Fix Version/s: jicmp-1.2.2, jicmp6-1.0.2
-
Component/s: None
-
Labels:
-
Environment:OpenIndiana oi_147
Description
OpenIndiana already has byte swapping function like ntohll defined in <sys/byteorder.h>. IcmpSocket.h's set of byte swapping macros redefine ntohll to BSWAP_64 and thus break compilation.
I believe I have this fixed in both the JICMP and JICMP6 codebases. Do you mind trying a clone to confirm?
I changed the macros to only define ntohll and htonll if they're not already found.