diff options
author | Phillip Davis <ict.advisor@nepal.inf.org> | 2014-02-07 09:50:06 -0800 |
---|---|---|
committer | Phillip Davis <ict.advisor@nepal.inf.org> | 2014-02-07 09:50:06 -0800 |
commit | 974fb32ccd894df6c4aafefe75c659288bd60002 (patch) | |
tree | 70f23c29aa2d35311af40050d8248ddc529dcbc0 | |
parent | 59c6e2181f4c95eb68c9ef909b2675bea1d4ec8f (diff) | |
download | pfsense-974fb32ccd894df6c4aafefe75c659288bd60002.zip pfsense-974fb32ccd894df6c4aafefe75c659288bd60002.tar.gz |
Enhance interface gateway data entry descriptions
-rwxr-xr-x | etc/rc.initial.setlanip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index 13a9bdc..8b3a820 100755 --- a/etc/rc.initial.setlanip +++ b/etc/rc.initial.setlanip @@ -306,8 +306,8 @@ function console_configure_ip_address($version) { $subnet = gen_subnet($intip, $intbits); } do { - echo "\n" . sprintf(gettext("Enter the new %s %s gateway address. Press <ENTER> for none:"), - $upperifname, $label_IPvX) . "\n> "; + echo "\n" . sprintf(gettext("For a WAN, enter the new %s %s upstream gateway address."), $upperifname, $label_IPvX) . "\n" . + gettext("For a LAN, press <ENTER> for none:") . "\n> "; $gwip = chop(fgets($fp)); $is_ipaddr = ($version === 6) ? is_ipaddrv6($gwip) : is_ipaddrv4($gwip); $is_in_subnet = $is_ipaddr && ip_in_subnet($gwip, $subnet . "/" . $intbits); |