00fffaadd1
- Escape some question marks to avoid weird GCC warning. - Fix broken use of "__attributed (__packed__)". Bump package revision because this is a code generation issue.
22 lines
688 B
Text
22 lines
688 B
Text
$NetBSD: patch-bp,v 1.1 2007/06/11 12:36:24 tron Exp $
|
|
|
|
--- pppd/chap_ms.h.orig 2004-11-09 22:49:05.000000000 +0000
|
|
+++ pppd/chap_ms.h 2007-06-11 13:11:59.000000000 +0100
|
|
@@ -67,7 +67,7 @@
|
|
u_char LANManResp[24];
|
|
u_char NTResp[24];
|
|
u_char UseNT[1]; /* If 1, ignore the LANMan response field */
|
|
-} MS_ChapResponse PACKED;
|
|
+} PACKED MS_ChapResponse;
|
|
|
|
/*
|
|
* Use MS_CHAP2_RESPONSE_LEN, rather than sizeof(MS_Chap2Response),
|
|
@@ -78,7 +78,7 @@
|
|
u_char Reserved[8]; /* Must be zero */
|
|
u_char NTResp[24];
|
|
u_char Flags[1]; /* Must be zero */
|
|
-} MS_Chap2Response PACKED;
|
|
+} PACKED MS_Chap2Response;
|
|
|
|
#ifdef MPPE
|
|
#include <net/ppp-comp.h> /* MPPE_MAX_KEY_LEN */
|