From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <20140906164553.C89C9210AA@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7109232554999927352==" List-Id: --===============7109232554999927352== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Date: Sat Sep 6 18:44:50 2014 +0200 general-functions.pl: Fix perl coding error commit 7bfaaa0d353ffefd50b2d4bbfa70a81363669d62 Author: Michael Tremer Date: Thu Sep 4 11:13:41 2014 +0200 general-functions.pl: Fix syntax error commit 9f64c06d941709052d2ae7405a3770b018a6e192 Author: Michael Tremer Date: Wed Sep 3 22:23:04 2014 +0200 general-functions.pl: Subroutine getnetworkip() accepted multiple argumen= ts ----------------------------------------------------------------------- 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-fun= ctions.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 =3D shift; =20 - return &Network::check_netmask($mask) or &Network::check_prefix($mask); + return &Network::check_netmask($mask) || &Network::check_prefix($mask); } =20 sub validipormask @@ -388,7 +388,9 @@ sub iporsubtocidr } =20 sub getnetworkip { - return &Network::get_netaddress(shift); + my $arg =3D join("/", @_); + + return &Network::get_netaddress($arg); } =20 sub getccdbc hooks/post-receive -- IPFire 2.x development tree --===============7109232554999927352==--