Fill up src_port and dst_port variables for SCTP over IPv4.
PR: kern/153415 MFC after: 1 week
This commit is contained in:
parent
f19e4d3eda
commit
fb3f0c3e38
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user