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:
Axel Dörfler 2007-01-15 12:37:08 +00:00
parent e9ffbbf36c
commit 7383c05e71

View File

@ -121,10 +121,10 @@ convert_from_r5_socket(int& family, int& type, int& protocol)
protocol = IPPROTO_UDP;
break;
case R5_IPPROTO_TCP:
protocol = R5_IPPROTO_TCP;
protocol = IPPROTO_TCP;
break;
case R5_IPPROTO_ICMP:
protocol = R5_IPPROTO_ICMP;
protocol = IPPROTO_ICMP;
break;
}
}