The R5 socket protocol constant conversion routine was broken - now, NetPositive
is starting to work under Haiku. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19807 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -121,10 +121,10 @@ convert_from_r5_socket(int& family, int& type, int& protocol)
|
|||||||
protocol = IPPROTO_UDP;
|
protocol = IPPROTO_UDP;
|
||||||
break;
|
break;
|
||||||
case R5_IPPROTO_TCP:
|
case R5_IPPROTO_TCP:
|
||||||
protocol = R5_IPPROTO_TCP;
|
protocol = IPPROTO_TCP;
|
||||||
break;
|
break;
|
||||||
case R5_IPPROTO_ICMP:
|
case R5_IPPROTO_ICMP:
|
||||||
protocol = R5_IPPROTO_ICMP;
|
protocol = IPPROTO_ICMP;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user