From 35fff8e53ed3538f841d3180fdd39d0ce66a4d83 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 28 Apr 2009 20:26:00 -0400 Subject: Remove extra $ --- etc/inc/interfaces.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 6725ef3..a458cad 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2310,11 +2310,11 @@ function get_interfaces_with_gateway() { /* loop interfaces, check config for outbound */ foreach ($config['interfaces'] as $ifdescr => $ifname) { - switch ($$ifname['ipaddr']) { - case "dhcp": - case "carpdev-dhcp": - case "pppoe": - case "pptp": + switch ($ifname['ipaddr']) { + case "dhcp": + case "carpdev-dhcp": + case "pppoe": + case "pptp": $ints[] = $ifdescr; break; default: @@ -2490,4 +2490,4 @@ function setup_pppoe_reset_file($interface, $status) { } } -?> +?> \ No newline at end of file -- cgit v1.1