summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorticso <ticso@FreeBSD.org>2007-01-05 00:33:00 +0000
committerticso <ticso@FreeBSD.org>2007-01-05 00:33:00 +0000
commitd1730bc2bb8ce61ef61ae7b28869bdd89c33af9d (patch)
tree9cee7544730fd00c67b67123bfc77b32a0263e38 /usr.sbin/ppp
parent38968561b2e133962fc129420977507e5a7ae310 (diff)
downloadFreeBSD-src-d1730bc2bb8ce61ef61ae7b28869bdd89c33af9d.zip
FreeBSD-src-d1730bc2bb8ce61ef61ae7b28869bdd89c33af9d.tar.gz
MFp4: struct fsm_opt_hdr needs to be __packed as it is used as an array for
handling wire data This is required to get ppp working on arm.
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/fsm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/fsm.h b/usr.sbin/ppp/fsm.h
index b35c623..d233899 100644
--- a/usr.sbin/ppp/fsm.h
+++ b/usr.sbin/ppp/fsm.h
@@ -164,7 +164,7 @@ struct fsmheader {
struct fsm_opt_hdr {
u_char id;
u_char len;
-};
+} __packed;
#define MAX_FSM_OPT_LEN 52
struct fsm_opt {
OpenPOWER on IntegriCloud