Project

General

Profile

« Previous | Next » 

Revision b7331383

Added by Martin Wasley almost 8 years ago

Add Option to use static IPV6 over v4 parent ( PPPoE

A new option when setting a v6 static on the WAN to allow the connection to use the V4 interfaces i.e. PPPoE

View differences:

src/etc/inc/interfaces.inc
5132 5132
							case 'ppp':
5133 5133
							case 'l2tp':
5134 5134
							case 'pptp':
5135
								if (isset($cfg['dhcp6usev4iface']) && $realv6iface === false) {
5135
								// Added catch for static v6 but using v4 link. Sets things to use pppoe link
5136
								if ((isset($cfg['dhcp6usev4iface']) && $realv6iface === false) || isset($cfg['ipv6usev4iface'])) {
5136 5137
									$wanif = $cfg['if'];
5137 5138
								} else {
5138 5139
									$parents = get_parent_interface($interface);

Also available in: Unified diff