From 60f501ec4fc0d5f6664f1289b7a2e22339180deb Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 14 May 2013 10:01:31 +0545 Subject: IPv6 OpenVPN TAP mode typo --- etc/inc/openvpn.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 9b26edc..41b0ce2 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -514,7 +514,7 @@ function openvpn_reconfigure($mode, $settings) { if ($settings['dev_mode'] == 'tun') $conf .= "ifconfig-ipv6 {$ipv6_1} {$ipv6_2}\n"; else - $conf .= "ifconfig {$ipv6_1} {$prefix}\n"; + $conf .= "ifconfig-ipv6 {$ipv6_1} {$prefix}\n"; } break; case 'server_tls': @@ -665,7 +665,7 @@ function openvpn_reconfigure($mode, $settings) { if ($settings['dev_mode'] == 'tun') $conf .= "ifconfig-ipv6 {$ipv6_2} {$ipv6_1}\n"; else - $conf .= "ifconfig {$ipv6_2} {$prefix}\n"; + $conf .= "ifconfig-ipv6 {$ipv6_2} {$prefix}\n"; } if ($settings['proxy_addr']) { -- cgit v1.1