aboutsummaryrefslogtreecommitdiff
path: root/include/arpa
diff options
context:
space:
mode:
authorBernd Walter <ticso@FreeBSD.org>2007-08-01 11:59:09 +0000
committerBernd Walter <ticso@FreeBSD.org>2007-08-01 11:59:09 +0000
commit1b2d5599a5b165627d479fcd093c53d92e0ea012 (patch)
tree5583215f550cf5525d576a659fc5cc80e9330cda /include/arpa
parent9b93c30d30e9f8113aef5b30951a21e3c494e81c (diff)
downloadsrc-1b2d5599a5b165627d479fcd093c53d92e0ea012.tar.gz
src-1b2d5599a5b165627d479fcd093c53d92e0ea012.zip
Notes
Diffstat (limited to 'include/arpa')
-rw-r--r--include/arpa/tftp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h
index 84d7dc167c8f..eef9d4dc513f 100644
--- a/include/arpa/tftp.h
+++ b/include/arpa/tftp.h
@@ -58,9 +58,9 @@ struct tftphdr {
unsigned short tu_block; /* block # */
unsigned short tu_code; /* error code */
char tu_stuff[1]; /* request packet stuff */
- } th_u;
+ } __packed th_u;
char th_data[1]; /* data or error string */
-};
+} __packed;
#define th_block th_u.tu_block
#define th_code th_u.tu_code