From f219cbb721d99c1f411cd650dc7dab7793c9065a Mon Sep 17 00:00:00 2001 From: Bernd Walter Date: Fri, 5 Jan 2007 00:33:00 +0000 Subject: [PATCH] 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. --- usr.sbin/ppp/fsm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ppp/fsm.h b/usr.sbin/ppp/fsm.h index b35c623274e..d233899e920 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 {