From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 499e7fc33fe5b689476d8bdaf4452f5163b20f22
Date: Sat, 06 Sep 2014 18:45:53 +0200 [thread overview]
Message-ID: <20140906164553.C89C9210AA@argus.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2267 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, master has been updated
via 499e7fc33fe5b689476d8bdaf4452f5163b20f22 (commit)
via 7bfaaa0d353ffefd50b2d4bbfa70a81363669d62 (commit)
via 9f64c06d941709052d2ae7405a3770b018a6e192 (commit)
from 35880220b07a87b57689e21ac2fd514c50fc81f4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 499e7fc33fe5b689476d8bdaf4452f5163b20f22
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Sat Sep 6 18:44:50 2014 +0200
general-functions.pl: Fix perl coding error
commit 7bfaaa0d353ffefd50b2d4bbfa70a81363669d62
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Thu Sep 4 11:13:41 2014 +0200
general-functions.pl: Fix syntax error
commit 9f64c06d941709052d2ae7405a3770b018a6e192
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Wed Sep 3 22:23:04 2014 +0200
general-functions.pl: Subroutine getnetworkip() accepted multiple arguments
-----------------------------------------------------------------------
Summary of changes:
config/cfgroot/general-functions.pl | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Difference in files:
diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-functions.pl
index 8ed87fc..35ae7c0 100644
--- a/config/cfgroot/general-functions.pl
+++ b/config/cfgroot/general-functions.pl
@@ -286,7 +286,7 @@ sub validip
sub validmask {
my $mask = shift;
- return &Network::check_netmask($mask) or &Network::check_prefix($mask);
+ return &Network::check_netmask($mask) || &Network::check_prefix($mask);
}
sub validipormask
@@ -388,7 +388,9 @@ sub iporsubtocidr
}
sub getnetworkip {
- return &Network::get_netaddress(shift);
+ my $arg = join("/", @_);
+
+ return &Network::get_netaddress($arg);
}
sub getccdbc
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2014-09-06 16:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140906164553.C89C9210AA@argus.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox