Fix the reporting of the MTU for SCTP sockets when using IPv6.
MFC after: 1 week
This commit is contained in:
parent
cbe96f9524
commit
5f19587fba
@ -2412,7 +2412,7 @@ sctp_getopt(struct socket *so, int optname, void *optval, size_t *optsize,
|
||||
#endif
|
||||
#ifdef INET6
|
||||
case AF_INET6:
|
||||
paddrp->spp_pathmtu -= SCTP_MIN_V4_OVERHEAD;
|
||||
paddrp->spp_pathmtu -= SCTP_MIN_OVERHEAD;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user