Skip to content
Browse files

typo which caused failure on Illumos

  • Loading branch information...
1 parent b0472e8 commit 0324be0d5a9e36d6ba5a46ee63d456e18d93369a Caleb James DeLisle committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 interface/TUNMessageType_Illumos.c
View
2 interface/TUNMessageType_Illumos.c
@@ -25,7 +25,7 @@
static inline ethertypeForPacketType(uint8_t highByte)
{
- return ((message->bytes[0] >> 4) == 6) ? Ethernet_TYPE_IP6 : Ethernet_TYPE_IP4;
+ return ((highByte >> 4) == 6) ? Ethernet_TYPE_IP6 : Ethernet_TYPE_IP4;
}
void TUNMessageType_push(struct Message* message, uint16_t ethertype)

0 comments on commit 0324be0

Please sign in to comment.
Something went wrong with that request. Please try again.