diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-01 23:01:32 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-01 23:03:26 -0600 |
commit | 349e9ec1d03d8b7139ccc8762d44cd8480716149 (patch) | |
tree | 121365cc252888014a6f37c04a01c34d03a32e0f | |
parent | 34d70cc09a2f9868a33f75a19f25da1faf15392b (diff) | |
download | pfsense-349e9ec1d03d8b7139ccc8762d44cd8480716149.zip pfsense-349e9ec1d03d8b7139ccc8762d44cd8480716149.tar.gz |
Correct capitalization for PPTP and L2TP in a couple places.
-rw-r--r-- | etc/inc/interfaces.inc | 8 | ||||
-rwxr-xr-x | usr/local/www/interfaces.php | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 3d415a3..94325db 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1002,7 +1002,7 @@ function handle_pppoe_reset($post_array) { $config['cron']['item'][] = $item; } -/* This function can configure PPPoE, MLPPP (PPPoE), PPtP. +/* This function can configure PPPoE, MLPPP (PPPoE), PPTP. * It writes the mpd config file to /var/etc every time the link is opened. */ @@ -1056,7 +1056,7 @@ function interface_ppps_configure($interface) { $subnets = explode(',',$ppp['subnet']); /* We bring up the parent interface first because if DHCP is configured on the parent we need - to obtain an address first so we can write it in the mpd .conf file for PPtP and L2tP configs + to obtain an address first so we can write it in the mpd .conf file for PPTP and L2TP configs */ foreach($ports as $pid => $port){ switch ($ppp['type']) { @@ -1075,7 +1075,7 @@ function interface_ppps_configure($interface) { $localips[$pid] = get_interface_ip($port); // try to get the interface IP from the port if(!is_ipaddr($localips[$pid])){ - log_error("Could not get a Local IP address for PPtP/L2tP link on {$port} in interfaces_ppps_configure."); + log_error("Could not get a Local IP address for PPTP/L2TP link on {$port} in interfaces_ppps_configure."); return 0; } /* XXX: This needs to go away soon! [It's commented out!] */ @@ -1090,7 +1090,7 @@ function interface_ppps_configure($interface) { */ } if(!is_ipaddr($gateways[$pid])){ - log_error("Could not get a PPtP/L2tP Remote IP address from {$dhcp_gateway} for {$gway} in interfaces_ppps_configure."); + log_error("Could not get a PPTP/L2TP Remote IP address from {$dhcp_gateway} for {$gway} in interfaces_ppps_configure."); return 0; } break; diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index d1f82cd..dc630ab 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -1462,12 +1462,12 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "ppp" = <?php if (isset($pconfig['pppid'])): ?> <td width="78%" class="vtable"> <a href="/interfaces_ppps_edit.php?id=<?=htmlspecialchars($pconfig['pppid']);?>" class="navlnk">Click here</a> - for additional PPtP and L2tP configuration options. Save first if you made changes. + for additional PPTP and L2TP configuration options. Save first if you made changes. </td> <? else: ?> <td width="78%" class="vtable"> <a href="/interfaces_ppps_edit.php" class="navlnk">Click here</a> - for advanced PPtP and L2tP configuration options. + for advanced PPTP and L2TP configuration options. </td> <? endif; ?> </tr> |