summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.banner4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.banner b/etc/rc.banner
index 2de75a9..34fd7b6 100755
--- a/etc/rc.banner
+++ b/etc/rc.banner
@@ -54,11 +54,11 @@
break;
case "pppoe":
$ifinfo['class'] = "(PPPoE)";
- $ifinfo['ipaddr'] = $iflist['ng0']['ipaddr'];
+ $ifinfo['ipaddr'] = get_current_wan_address();
break;
case "pptp":
$ifinfo['class'] = "(PPTP)";
- $ifinfo['ipaddr'] = $iflist['ng0']['ipaddr'];
+ $ifinfo['ipaddr'] = get_current_wan_address();
break;
}
$tobanner = $friendly;
OpenPOWER on IntegriCloud