summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/interfaces.inc2
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 88d9f72..b3987e2 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1616,7 +1616,7 @@ EOD;
fwrite($fd, $dhclientconf);
fclose($fd);
- $relwanif = $wancfg['if'];
+ $realwanif = $wancfg['if'];
/* bring wan interface up before starting dhclient */
if($realwanif)
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index c1512e8..5971283 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -313,8 +313,8 @@ $port_str = gettext("Port");
$url_str = gettext("URL");
$update_freq_str = gettext("Update Freq.");
-$networks_help = gettext("Networks can be expressed like 10.0.0.0 format. Select the CIDR (network mask) that pertains to each entry.");
-$hosts_help = gettext("Enter as many hosts as you would like. Hosts should be expressed in their ip address format.");
+$networks_help = gettext("Networks are specified in CIDR format. Select the CIDR mask that pertains to each entry. /32 specifies a single host, /24 specifies 255.255.255.0, etc. Hostnames (FQDNs) may also be specified, using a /32 mask.");
+$hosts_help = gettext("Enter as many hosts as you would like. Hosts must be specified by their IP address.");
$ports_help = gettext("Enter as many ports as you wish. Port ranges can be expressed by seperating with a colon.");
$url_help = gettext("Enter as many urls as you wish. Also set the time that you would like the url refreshed in days. After saving {$g['product_name']} will download the URL and import the items into the alias.");
OpenPOWER on IntegriCloud