Project

General

Profile

« Previous | Next » 

Revision d1e03822

Added by Ermal LUÇI about 14 years ago

Remove the entry from old entries even when there are no changes to prevent marking them down.

View differences:

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

Also available in: Unified diff