Project

General

Profile

« Previous | Next » 

Revision cf3904bd

Added by Phil Davis over 10 years ago

Code style

Couple of spaces for new code merged from an old repo/branch

View differences:

etc/inc/services.inc
194 194
			foreach ($dhcpv6ifconf['subnets']['item'] as $subnet) {
195 195
				if (is_subnetv6($subnet)) {
196 196
					$radvdconf .= "\tprefix {$subnet} {\n";
197
					if($carpif == true) {
197
					if ($carpif == true) {
198 198
						$radvdconf .= "\t\tDeprecatePrefix off;\n";
199 199
					} else {
200 200
						$radvdconf .= "\t\tDeprecatePrefix on;\n";
201 201
					}
202
					switch($dhcpv6ifconf['ramode']) {
202
					switch ($dhcpv6ifconf['ramode']) {
203 203
						case "managed":
204 204
							$radvdconf .= "\t\tAdvOnLink on;\n";
205 205
							$radvdconf .= "\t\tAdvAutonomous off;\n";

Also available in: Unified diff