Print this page
dccp: options and features
*** 141,151 ****
getportname(int proto, in_port_t port)
{
const struct porttable *p, *pt;
switch (proto) {
! case IPPROTO_SCTP: /* fallthru */
case IPPROTO_TCP: pt = pt_tcp; break;
case IPPROTO_UDP: pt = pt_udp; break;
default: return (NULL);
}
--- 141,152 ----
getportname(int proto, in_port_t port)
{
const struct porttable *p, *pt;
switch (proto) {
! case IPPROTO_DCCP: /* fallthru */
! case IPPROTO_SCTP:
case IPPROTO_TCP: pt = pt_tcp; break;
case IPPROTO_UDP: pt = pt_udp; break;
default: return (NULL);
}