Yeah, right, switching back to allwarnings-awareness. Stupid me.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8524 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ff24e0c4ab
commit
612899f22c
|
@ -134,7 +134,7 @@ static status_t process_input(net_layer *me, net_buffer *buffer)
|
|||
if (!buffer)
|
||||
return B_ERROR;
|
||||
|
||||
if (g_stack->find_buffer_attribute(buffer, ethernet_protocol_attr, 0, NULL, &protocol, NULL) != B_OK)
|
||||
if (g_stack->find_buffer_attribute(buffer, ethernet_protocol_attr, 0, NULL, (void **) &protocol, NULL) != B_OK)
|
||||
return B_ERROR;
|
||||
|
||||
if (*protocol != htons(0x0806)) // ARP on Ethernet protocol value
|
||||
|
|
|
@ -118,7 +118,7 @@ static status_t process_input(net_layer *me, net_buffer *buffer)
|
|||
if (!buffer)
|
||||
return B_ERROR;
|
||||
|
||||
if (g_stack->find_buffer_attribute(buffer, ethernet_protocol_attr, 0, NULL, &protocol, NULL) != B_OK)
|
||||
if (g_stack->find_buffer_attribute(buffer, ethernet_protocol_attr, 0, NULL, (void **) &protocol, NULL) != B_OK)
|
||||
return B_ERROR;
|
||||
|
||||
if (*protocol != htons(0x0800)) // IPv4 on Ethernet protocol value
|
||||
|
|
Loading…
Reference in New Issue