summaryrefslogtreecommitdiff
path: root/lib/libncp
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-02-26 12:07:08 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-02-26 12:07:08 +0000
commit158ae6cdf229340074fb4d4684c9eecb9530385b (patch)
tree739954709bd281e109914bf600a893f10d57ac24 /lib/libncp
parentc724ad6648732b085b007edfa37e3b6e1e4ac11b (diff)
Notes
Diffstat (limited to 'lib/libncp')
-rw-r--r--lib/libncp/ipxsap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libncp/ipxsap.h b/lib/libncp/ipxsap.h
index 45a13ccc809b..2b26b6adbbac 100644
--- a/lib/libncp/ipxsap.h
+++ b/lib/libncp/ipxsap.h
@@ -48,19 +48,19 @@
struct sap_query {
u_short query_type; /* net order */
u_short server_type; /* net order */
-};
+} __packed;
struct sap_entry {
u_short server_type;
u_char server_name[IPX_SAP_SERVER_NAME_LEN];
struct ipx_addr ipx;
u_short hops;
-};
+} __packed;
struct sap_packet {
u_short operation;
struct sap_entry sap_entries[1];
-};
+} __packed;
struct sap_rq {
struct sockaddr_ipx dest_addr;