Project

General

Profile

« Previous | Next » 

Revision b01d44a3

Added by Renato Botelho over 10 years ago

Revert "Use a consistent variable name here. related to Ticket #4446"

This reverts commit 0e7954b8a333d7ca92f56c86c74e2d9d7457b546.

View differences:

usr/local/www/xmlrpc.php
279 279
			}
280 280
		}
281 281
		/* Cleanup remaining old carps */
282
		foreach ($oldvips as $oldvipif => $oldvipar) {
283
			if (strstr($oldvipar['interface'], '_vip')) {
284
				$oldvipif = explode('_vip', $oldvipar['interface']);
282
		foreach ($oldvips as $oldvipif => $oldvippar) {
283
			if (strstr($oldvippar['interface'], '_vip')) {
284
				$oldvipif = explode('_vip', $oldvippar['interface']);
285 285
				$oldvipif = $oldvipif[0];
286 286
			} else
287
				$oldvipif = get_real_interface($oldvipar['interface']);
287
				$oldvipif = get_real_interface($oldvippar['interface']);
288 288
			if (!empty($oldvipif)) {
289 289
				if (is_ipaddrv6($oldvipif))
290 290
					 mwexec("/sbin/ifconfig " . escapeshellarg($oldvipif) . " inet6 " . escapeshellarg($oldvipar['subnet']) . " delete");

Also available in: Unified diff