Date: Thu, 28 Dec 2006 22:13:41 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 112251 for review Message-ID: <200612282213.kBSMDf05037523@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112251 Change 112251 by rwatson@rwatson_peppercorn on 2006/12/28 22:13:08 Update comments on byte order and IP tokens + token API. Affected files ... .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#59 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#59 (text+ko) ==== @@ -30,7 +30,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#58 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#59 $ */ #include <sys/types.h> @@ -419,6 +419,8 @@ /* * token ID 1 byte * ip header 20 bytes + * + * The IP header should be submitted in network byte order. */ token_t * au_to_ip(struct ip *ip) @@ -431,9 +433,6 @@ return (NULL); ADD_U_CHAR(dptr, AUT_IP); - /* - * XXXRW: Any byte order work needed on the IP header before writing? - */ ADD_MEM(dptr, ip, sizeof(struct ip)); return (t);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612282213.kBSMDf05037523>