Skip to content
Permalink
Browse files

rc: ipv6 ns drop checking wrong nvram for dualwan/multiiptv builds

  • Loading branch information
RMerl committed Nov 24, 2019
1 parent 94c1890 commit 461cbf34a7cc13222aaa5288e38922f6b92e00a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 release/src/router/rc/firewall.c
@@ -5650,7 +5650,7 @@ mangle_setting2(char *lan_if, char *lan_ip, char *logaccept, char *logdrop)

/* Workaround for neighbour solicitation flood from Comcast */
#ifdef RTCONFIG_IPV6
if (nvram_get_int("ipv6_neighsol_drop")) {
if (nvram_get_int("ipv6_ns_drop")) {
for(unit = WAN_UNIT_FIRST; unit < WAN_UNIT_MAX; ++unit){
eval("ip6tables", "-t", "mangle", "-A", "PREROUTING", "-p", "icmpv6", "--icmpv6-type", "neighbor-solicitation",
"-i", get_wan_ifname(unit), "-d", "ff02::1:ff00:0/104", "-j", "DROP");

0 comments on commit 461cbf3

Please sign in to comment.
You can’t perform that action at this time.