Fixed some typos in network-functions.pl

Message ID 1442749777-19839-1-git-send-email-matthias.fischer@ipfire.org
State Rejected
Headers

Message

Matthias Fischer Sept. 20, 2015, 9:49 p.m. UTC
  "recognised" => "recognized"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
 config/cfgroot/network-functions.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Michael Tremer Sept. 20, 2015, 9:58 p.m. UTC | #1
Hi,

this is perfect British English:
  https://en.wiktionary.org/wiki/recognise

I do not see any need to change this to American English, since I am
using BE most of the time and it is mixed everywhere any way.

Best,
-Michael

On Sun, 2015-09-20 at 13:49 +0200, Matthias Fischer wrote:
> "recognised" => "recognized"
> 
> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
> ---
>  config/cfgroot/network-functions.pl | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/config/cfgroot/network-functions.pl
> b/config/cfgroot/network-functions.pl
> index cb4ca3d..c39b6d9 100644
> --- a/config/cfgroot/network-functions.pl
> +++ b/config/cfgroot/network-functions.pl
> @@ -311,10 +311,10 @@ sub testsuite() {
>  	my $address2 = &bin2ip($address1);
>  	assert($address2 eq "8.8.8.8");
>  
> -	# Check if valid IP addresses are correctly recognised.
> +	# Check if valid IP addresses are correctly recognized.
>  	foreach my $address ("1.2.3.4", "192.168.180.1",
> "127.0.0.1") {
>  		if (!&check_ip_address($address)) {
> -			print "$address is not correctly recognised
> as a valid IP address!\n";
> +			print "$address is not correctly recognized
> as a valid IP address!\n";
>  			exit 1;
>  		};
>  	}
> @@ -322,7 +322,7 @@ sub testsuite() {
>  	# Check if invalid IP addresses are correctly found.
>  	foreach my $address ("456.2.3.4", "192.768.180.1", "127.1",
> "1", "a.b.c.d", "1.2.3.4.5", "1.2.3.4/12") {
>  		if (&check_ip_address($address)) {
> -			print "$address is recognised as a valid IP
> address!\n";
> +			print "$address is recognized as a valid IP
> address!\n";
>  			exit 1;
>  		};
>  	}
  
Matthias Fischer Sept. 20, 2015, 10:44 p.m. UTC | #2
Hi,

On 20.09.2015 13:58, Michael Tremer wrote:
> this is perfect British English:

British. Ok, I give up...goin' back to school... ;-))

Best,
Matthias