Fix the reporting of the MTU for SCTP sockets when using IPv6.

MFC after:	1 week
This commit is contained in:
tuexen 2017-11-01 16:32:11 +00:00
parent cbe96f9524
commit 5f19587fba

View File

@ -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: