diff options
Diffstat (limited to 'sys/security/audit/audit_bsm_token.c')
-rw-r--r-- | sys/security/audit/audit_bsm_token.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/security/audit/audit_bsm_token.c b/sys/security/audit/audit_bsm_token.c index ca19a2b..d5af2df 100644 --- a/sys/security/audit/audit_bsm_token.c +++ b/sys/security/audit/audit_bsm_token.c @@ -338,6 +338,8 @@ au_to_in_addr_ex(struct in6_addr *internet_addr) /* * 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) @@ -348,9 +350,6 @@ au_to_ip(struct ip *ip) GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(struct ip)); 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); |