summaryrefslogtreecommitdiff
blob: 2e1f6277cf5faae26c528a37fd3d19a22e2fbfe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Naurd openl2tp-1.8.orig/pppd/pppol2tp.c openl2tp-1.8/pppd/pppol2tp.c
--- openl2tp-1.8.orig/pppd/pppol2tp.c	2010-11-15 15:12:43.000000000 +0300
+++ openl2tp-1.8/pppd/pppol2tp.c	2018-03-17 14:11:07.484281421 +0300
@@ -297,7 +297,7 @@
 	static bool got_recv_accm = 0;
 	static uint32_t recv_accm = 0xffffffff;
 	static uint32_t send_accm = 0xffffffff;
-	static bool snooping = 1;
+	// static bool snooping = 1;
 
 	uint16_t protocol;
 	uint16_t lcp_pkt_len;
@@ -328,7 +328,7 @@
 			       "Network protocol %04x found.",
 			       protocol);
 		}
-		snooping = 0;
+		// snooping = 0;
 		return;
 	}