You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-dialup/openl2tp/files/openl2tp-1.8-unused-var.patch

22 lines
605 B

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;
}