Maint: remove deprecated tun-ipv6 option

This commit is contained in:
Quentin McGaw (desktop)
2021-09-13 15:54:01 +00:00
parent f807f756eb
commit f5f0ad7f28
16 changed files with 17 additions and 51 deletions

View File

@@ -59,9 +59,7 @@ func (p *Privatevpn) BuildConf(connection models.Connection,
lines = append(lines, "mssfix "+strconv.Itoa(int(settings.MSSFix)))
}
if settings.IPv6 {
lines = append(lines, "tun-ipv6")
} else {
if !settings.IPv6 {
lines = append(lines, `pull-filter ignore "route-ipv6"`)
lines = append(lines, `pull-filter ignore "ifconfig-ipv6"`)
}