/[smeserver]/rpms/e-smith-lib/sme8/e-smith-lib-2.2.0-ipv4check.patch
ViewVC logotype

Contents of /rpms/e-smith-lib/sme8/e-smith-lib-2.2.0-ipv4check.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Feb 22 16:33:30 2013 UTC (11 years, 2 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-lib-2_2_0-9_el5_sme, e-smith-lib-2_2_0-10_el5_sme, e-smith-lib-2_2_0-8_el5_sme, HEAD
* Fri Feb 22 2013 Ian Wells <esmith@wellsi.com> 2.2.0-8.sme
- Improve error checking in isValidIP [SME: 7364]

1 diff -ruN e-smith-lib-2.2.0.old/root/usr/lib/perl5/site_perl/esmith/util/network.pm e-smith-lib-2.2.0/root/usr/lib/perl5/site_perl/esmith/util/network.pm
2 --- e-smith-lib-2.2.0.old/root/usr/lib/perl5/site_perl/esmith/util/network.pm 2004-08-25 09:05:37.000000000 -0700
3 +++ e-smith-lib-2.2.0/root/usr/lib/perl5/site_perl/esmith/util/network.pm 2013-02-22 08:20:11.000000000 -0800
4 @@ -131,6 +131,7 @@
5 sub isValidIP($)
6 {
7 my ($string) = @_;
8 + return unless defined ipv4_chkip($string);
9 return $string eq ipv4_chkip($string);
10 }
11

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed