|
@@ -14,3 +14,14 @@ Forwarded: no
|
|
|
printf(" the specified interface (default is eth1).\n");
|
|
|
#else
|
|
|
#define OPT_BCRELAY ""
|
|
|
+--- a/ctrlpacket.c
|
|
|
++++ b/ctrlpacket.c
|
|
|
+@@ -319,7 +319,7 @@
|
|
|
+ /* Packet sanity check on magic cookie */
|
|
|
+ if (ntohl(header->magic) != PPTP_MAGIC_COOKIE) {
|
|
|
+ /* Oops! Not a valid Control Message */
|
|
|
+- syslog(LOG_ERR, "CTRL: Bad magic cookie - lost syncronization, closing control connection.");
|
|
|
++ syslog(LOG_ERR, "CTRL: Bad magic cookie - lost synchronization, closing control connection.");
|
|
|
+ /* draft states loss of syncronization must result in
|
|
|
+ * immediate closing of the control connection
|
|
|
+ */
|