Print this page
dccp: options and features

@@ -141,11 +141,12 @@
 getportname(int proto, in_port_t port)
 {
         const struct porttable *p, *pt;
 
         switch (proto) {
-        case IPPROTO_SCTP: /* fallthru */
+        case IPPROTO_DCCP: /* fallthru */
+        case IPPROTO_SCTP:
         case IPPROTO_TCP: pt = pt_tcp; break;
         case IPPROTO_UDP: pt = pt_udp; break;
         default: return (NULL);
         }