On Mon, Oct 29, 2012 at 08:42:48PM +0000, Michael Tuexen wrote:
M> Author: tuexen
M> Date: Mon Oct 29 20:42:48 2012
M> New Revision: 242325
M> URL: http://svn.freebsd.org/changeset/base/242325
M> 
M> Log:
M>   Use ntohs() and htons() in correct order. However, this doesn't change
M>   functionality.

Oh, sorry for that. Thanks for fixing!

M> Modified:
M>   head/sys/netinet/sctputil.c
M> 
M> Modified: head/sys/netinet/sctputil.c
M> 
==============================================================================
M> --- head/sys/netinet/sctputil.c      Mon Oct 29 18:06:09 2012        
(r242324)
M> +++ head/sys/netinet/sctputil.c      Mon Oct 29 20:42:48 2012        
(r242325)
M> @@ -6821,7 +6821,7 @@ sctp_recv_udp_tunneled_packet(struct mbu
M>      switch (iph->ip_v) {
M>  #ifdef INET
M>      case IPVERSION:
M> -            iph->ip_len = ntohs(htons(iph->ip_len) - sizeof(struct udphdr));
M> +            iph->ip_len = htons(ntohs(iph->ip_len) - sizeof(struct udphdr));
M>              sctp_input_with_port(m, off, port);
M>              break;
M>  #endif
M> _______________________________________________
M> svn-src-...@freebsd.org mailing list
M> http://lists.freebsd.org/mailman/listinfo/svn-src-all
M> To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

-- 
Totus tuus, Glebius.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to