diff options
-rwxr-xr-x | etc/rc.banner | 4 |
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; |