summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-02-11 12:52:14 +0545
committerRenato Botelho <garga@FreeBSD.org>2015-02-11 07:02:30 -0200
commit1444c08e3e38123925f59fe297bc526f0d4755b5 (patch)
tree8932c011890ec32940e868b9730670884382959a /etc/inc/interfaces.inc
parent4ab7f8f4e8517fb4dfba4706327b992a9676a521 (diff)
downloadpfsense-1444c08e3e38123925f59fe297bc526f0d4755b5.zip
pfsense-1444c08e3e38123925f59fe297bc526f0d4755b5.tar.gz
Random text typos
that I noticed.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 16ad94c..7903f6a 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -171,7 +171,7 @@ function interface_netgraph_needed($interface = "wan") {
pfSense_ngctl_detach("{$realif}:", $realif);
}
/* NOTE: We make sure for this on interface_ppps_configure()
- * no need to do it here agan.
+ * no need to do it here again.
* else
* pfSense_ngctl_attach(".", $realif);
*/
@@ -1507,7 +1507,7 @@ function interface_ppps_configure($interface) {
}
break;
default:
- log_error(sprintf(gettext("Unkown %s configured as ppp interface."), $type));
+ log_error(sprintf(gettext("Unknown %s configured as ppp interface."), $type));
break;
}
}
@@ -2113,7 +2113,7 @@ function interface_carp_configure(&$vip) {
if ($vip['mode'] != "carp")
return;
- /* NOTE: Maybe its useless nowdays */
+ /* NOTE: Maybe its useless nowadays */
$realif = get_real_interface($vip['interface']);
if (!does_interface_exist($realif)) {
file_notice("CARP", sprintf(gettext("Interface specified for the virtual IP address %s does not exist. Skipping this VIP."), $vip['subnet']), "Firewall: Virtual IP", "");
@@ -2369,7 +2369,7 @@ function interface_wireless_configure($if, &$wl, &$wlcfg) {
$wlcmd[] = "-mediaopt adhoc";
}
- /* Not neccesary to set BSS mode as this is default if adhoc and/or hostap is NOT set */
+ /* Not necessary to set BSS mode as this is default if adhoc and/or hostap is NOT set */
/* handle hide ssid option */
if(isset($wlcfg['hidessid']['enable'])) {
@@ -3120,10 +3120,10 @@ function interface_track6_configure($interface = "lan", $wancfg, $linkupevent =
case "dhcp6":
if ($linkupevent == true) {
/*
- * NOTE: Usually come here from rc.linkup calling so just call directly intead of generating event
+ * NOTE: Usually come here from rc.linkup calling so just call directly instead of generating event
* Instead of disrupting all other v4 configuration just restart DHCPv6 client for now
*
- * XXX: Probably DHCPv6 client should handle this autmagically itself?
+ * XXX: Probably DHCPv6 client should handle this automagically itself?
*/
$parentrealif = get_real_interface($wancfg['track6-interface']);
$pidv6 = find_dhcp6c_process($parentrealif);
@@ -3907,7 +3907,7 @@ function DHCP_Config_File_Substitutions($wancfg, $wanif, $dhclientconf) {
$res = stripos($dhclientconf, $various_mac_type . $various_mac_case . $various_mac_delimiter);
if ($res !== false) {
- /* Get MAC Address as ASCII String With Colon (:) Celimiters */
+ /* Get MAC Address as ASCII String With Colon (:) delimiters */
if ("$various_mac_case" == "U") $dhcpclientconf_mac = strtoupper(get_interface_mac($wanif));
if ("$various_mac_case" == "L") $dhcpclientconf_mac = strtolower(get_interface_mac($wanif));
@@ -4214,7 +4214,7 @@ function get_real_interface($interface = "wan", $family = "all", $realv6iface =
$wanif = "ppp";
break;
default:
- // If a real interface was alread passed simply
+ // If a real interface was already passed simply
// pass the real interface back. This encourages
// the usage of this function in more cases so that
// we can combine logic for more flexibility.
OpenPOWER on IntegriCloud