The following reply was made to PR kern/153415; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/153415: commit references a PR
Date: Thu, 31 Mar 2011 16:30:24 +0000 (UTC)

 Author: ae
 Date: Thu Mar 31 16:30:14 2011
 New Revision: 220211
 URL: http://svn.freebsd.org/changeset/base/220211
 
 Log:
   Fill up src_port and dst_port variables for SCTP over IPv4.
   
   PR:          kern/153415
   MFC after:   1 week
 
 Modified:
   head/sys/netinet/ipfw/ip_fw2.c
 
 Modified: head/sys/netinet/ipfw/ip_fw2.c
 ==============================================================================
 --- head/sys/netinet/ipfw/ip_fw2.c     Thu Mar 31 16:19:53 2011        
(r220210)
 +++ head/sys/netinet/ipfw/ip_fw2.c     Thu Mar 31 16:30:14 2011        
(r220211)
 @@ -1123,6 +1123,12 @@ do {                                                    
        \
                                args->f_id._flags = TCP(ulp)->th_flags;
                                break;
  
 +                      case IPPROTO_SCTP:
 +                              PULLUP_TO(hlen, ulp, struct sctphdr);
 +                              src_port = SCTP(ulp)->src_port;
 +                              dst_port = SCTP(ulp)->dest_port;
 +                              break;
 +
                        case IPPROTO_UDP:
                                PULLUP_TO(hlen, ulp, struct udphdr);
                                dst_port = UDP(ulp)->uh_dport;
 _______________________________________________
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"

Reply via email to