Project

General

Profile

« Previous | Next » 

Revision 19ed1624

Added by Ermal LUÇI almost 14 years ago

unset after checking that no reconfiguring is needed.

View differences:

usr/local/www/xmlrpc.php
198 198
		$anyproxyarp = false;
199 199
		foreach ($config['virtualip']['vip'] as $vip) {
200 200
			if (isset($oldvips[$vip['vhid']])) {
201
				unset($oldvips[$vip['vhid']]);
202 201
				if ($oldvips[$vip['vhid']] == "{$vip['password']}{$vip['advskew']}{$vip['subnet']}{$vip['subnet_bits']}{$vip['advbase']}") {
203
					if (does_interface_exist("vip{$vip['vhid']}"))
202
					if (does_interface_exist("vip{$vip['vhid']}")) {
203
						unset($oldvips[$vip['vhid']]);
204 204
						continue; // Skip reconfiguring this vips since nothing has changed.
205
					}
205 206
				}
207
				unset($oldvips[$vip['vhid']]);
206 208
			}
207 209

  
208 210
			switch ($vip['mode']) {

Also available in: Unified diff