[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Inetutils branch, master, updated. inetutils-1_8-180-g77d5ea7
From: |
Mats Erik Andersson |
Subject: |
[SCM] GNU Inetutils branch, master, updated. inetutils-1_8-180-g77d5ea7 |
Date: |
Tue, 29 Nov 2011 12:33:56 +0000 |
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 "GNU Inetutils ".
The branch, master has been updated
via 77d5ea7a6fcbf8cb1789b60522a2cecab36c73cd (commit)
from 4088071c2f55192e81dc77e64c28672d7313bbba (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=77d5ea7a6fcbf8cb1789b60522a2cecab36c73cd
commit 77d5ea7a6fcbf8cb1789b60522a2cecab36c73cd
Author: Mats Erik Andersson <address@hidden>
Date: Tue Nov 29 13:11:55 2011 +0100
make_ip_del.pl: Arithmetic on 64-bit systems.
diff --git a/ChangeLog b/ChangeLog
index 5449692..b58ce2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-29 Mats Erik Andersson <address@hidden>
+
+ * whois/make_ip_del.pl: Compute netmasks correctly
+ also with 64-bit arithmetic.
+
2011-11-26 Mats Erik Andersson <address@hidden>
* tests/tftp.sh: Return skip code if INET port is already in use.
diff --git a/whois/make_ip_del.pl b/whois/make_ip_del.pl
index cd98cf1..89ffaa5 100755
--- a/whois/make_ip_del.pl
+++ b/whois/make_ip_del.pl
@@ -29,7 +29,7 @@ while (<>) {
my $m=$2; my $s=$3;
my ($i1, $i2, $i3, $i4)=split(/\./, $1);
print "{ ".(($i1<<24)+($i2<<16)+($i3<<8)+$i4)."UL, ".
- (~(0xffffffff>>$m))."UL, \"";
+ (0xffffffff^(0xffffffff>>$m))."UL, \"";
if ($s =~ /\./) {
print "$s";
} else {
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
whois/make_ip_del.pl | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU Inetutils
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Inetutils branch, master, updated. inetutils-1_8-180-g77d5ea7,
Mats Erik Andersson <=