summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 79d07a4..6c6d617 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -82,7 +82,7 @@ if (empty($argument)) {
$curwanip = get_interface_ip();
} else {
$curwanip = find_interface_ip($interface_real, true);
- if($curwanip == "") {
+ if ($curwanip == "") {
$curwanip = get_interface_ip($interface);
}
}
@@ -189,7 +189,7 @@ if (!empty($gif)) {
}
}
if (!empty($gre)) {
- foreach($gre as $gretun) {
+ foreach ($gre as $gretun) {
$confif = convert_real_interface_to_friendly_interface_name($gretun['greif']);
if (!empty($confif)) {
interface_configure($confif);
OpenPOWER on IntegriCloud