svn commit: r246814 - projects/diffused_head/sbin/ipfw/diffuse_collector
Lawrence Stewart
lstewart at FreeBSD.org
Fri Feb 15 01:24:06 UTC 2013
Author: lstewart
Date: Fri Feb 15 01:24:05 2013
New Revision: 246814
URL: http://svnweb.freebsd.org/changeset/base/246814
Log:
be16enc works with host byte order.
Modified:
projects/diffused_head/sbin/ipfw/diffuse_collector/diffuse_collector.c
Modified: projects/diffused_head/sbin/ipfw/diffuse_collector/diffuse_collector.c
==============================================================================
--- projects/diffused_head/sbin/ipfw/diffuse_collector/diffuse_collector.c Fri Feb 15 01:12:47 2013 (r246813)
+++ projects/diffused_head/sbin/ipfw/diffuse_collector/diffuse_collector.c Fri Feb 15 01:24:05 2013 (r246814)
@@ -1893,7 +1893,7 @@ request_classifier_state()
thdr->flags = 0;
offs += sizeof(struct dip_templ_header);
- be16enc(reqstatepkt + offs, htons(dip_info[DIP_IE_MSG_TYPE].id));
+ be16enc(reqstatepkt + offs, dip_info[DIP_IE_MSG_TYPE].id);
offs += sizeof(uint16_t);
shdr->set_len = htons(offs - sizeof(struct dip_header));
More information about the svn-src-projects
mailing list