Project

General

Profile

« Previous | Next » 

Revision 5bd0ba3e

Added by Jim Pingle over 10 years ago

Add missing 'break' statement that broke switching from a PPP type to 'none'.

View differences:

usr/local/www/interfaces.php
522 522
						$input_errors[] = gettext("This interface is referenced by IPv4 VIPs. Please delete those before setting the interface to 'none' configuration.");
523 523
				}
524 524
			}
525
			break;
525 526
		case "dhcp":
526 527
			if (in_array($wancfg['ipaddr'], array("ppp", "pppoe", "pptp", "l2tp")))
527 528
				$input_errors[] = sprintf(gettext("You have to reassign the interface to be able to configure as %s."),$_POST['type']);
......
575 576
						$input_errors[] = gettext("This interface is referenced by IPv6 VIPs. Please delete those before setting the interface to 'none' configuration.");
576 577
				}
577 578
			}
579
			break;
578 580
		case "dhcp6":
579 581
			if (in_array($wancfg['ipaddrv6'], array()))
580 582
				$input_errors[] = sprintf(gettext("You have to reassign the interface to be able to configure as %s."),$_POST['type6']);

Also available in: Unified diff