summaryrefslogtreecommitdiff
path: root/net/pppd/patches/patch-bp
diff options
context:
space:
mode:
Diffstat (limited to 'net/pppd/patches/patch-bp')
-rw-r--r--net/pppd/patches/patch-bp22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/pppd/patches/patch-bp b/net/pppd/patches/patch-bp
new file mode 100644
index 00000000000..333d0ec2f6f
--- /dev/null
+++ b/net/pppd/patches/patch-bp
@@ -0,0 +1,22 @@
+$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 */