Hello community,

here is the log from the commit of package perl-NetPacket for openSUSE:Factory
checked in at Mon Sep 19 17:57:32 CEST 2011.



--------
--- perl-NetPacket/perl-NetPacket.changes       2011-03-23 01:35:13.000000000 
+0100
+++ perl-NetPacket/perl-NetPacket.changes       2011-08-08 01:57:05.000000000 
+0200
@@ -1,0 +2,9 @@
+Sat Jul 30 16:49:00 EDT 2011 - greg.freem...@opensuse.org
+ 
+- Update to 1.2.0
+ [ENHANCEMENTS]
+ - Add support for Ethernet VLAN (thanks to Kai Chan)
+ [BUG FIXES]
+ - Add a INSTALL file
+ 
+-------------------------------------------------------------------
@@ -5 +13,0 @@
-

calling whatdependson for head-i586


Old:
----
  NetPacket-1.1.1.tar.gz

New:
----
  NetPacket-1.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-NetPacket.spec ++++++
--- /var/tmp/diff_new_pack.ezF2XV/_old  2011-09-19 17:57:25.000000000 +0200
+++ /var/tmp/diff_new_pack.ezF2XV/_new  2011-09-19 17:57:25.000000000 +0200
@@ -18,14 +18,14 @@
 
 
 Name:           perl-NetPacket
-Version:        1.1.1
+Version:        1.2.0
 Release:        1
 Summary:        Assemble/disassemble network packets at the protocol level
 Source:         
http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/NetPacket-%{version}.tar.gz
 Patch1:         perl-NetPacket-backport.patch
 Url:            http://search.cpan.org/dist/NetPacket
 Group:          Development/Libraries/Perl
-License:        Perl License
+License:        Artistic 2.0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{perl_requires}
 BuildRequires:  perl-macros
@@ -83,4 +83,5 @@
 %{perl_vendorlib}/NetPacket.pm
 %doc %{perl_man3dir}/NetPacket.%{perl_man3ext}%{ext_man}
 %doc %{perl_man3dir}/NetPacket::*.%{perl_man3ext}%{ext_man}
+
 %changelog

++++++ NetPacket-1.1.1.tar.gz -> NetPacket-1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/Build.PL new/NetPacket-1.2.0/Build.PL
--- old/NetPacket-1.1.1/Build.PL        2011-02-08 01:34:51.000000000 +0100
+++ new/NetPacket-1.2.0/Build.PL        2011-07-27 03:04:33.000000000 +0200
@@ -21,7 +21,7 @@
     'Yanick Champoux <yan...@cpan.org>'
   ],
   'dist_name' => 'NetPacket',
-  'dist_version' => '1.1.1',
+  'dist_version' => '1.2.0',
   'license' => 'artistic_2',
   'module_name' => 'NetPacket',
   'recommends' => {},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/Changes new/NetPacket-1.2.0/Changes
--- old/NetPacket-1.1.1/Changes 2011-02-08 01:34:51.000000000 +0100
+++ new/NetPacket-1.2.0/Changes 2011-07-27 03:04:33.000000000 +0200
@@ -1,56 +1,64 @@
 revision history for NetPacket
 
-1.1.1     2011-02-07 19:34:30 America/Montreal
-    * Add the new Ethernet types to the export list. 
-        (thanks to Sergey, again :-) ) (RT#64799)
-
-1.1.0     2011-01-15 12:51:13 America/Montreal
-    * Add a few Ethernet types. (thanks to Sergey) (RT#64799)
-
-1.0.1     2010-10-19 20:02:04 America/Montreal
-    * Make the example verbatim in pod in NetPacket::UDP (rt#62097)
-
-1.0.0     2010-10-17 13:42:15 America/Montreal
-    * Remove modules NetPacket::ICMPv6, NetPacket::IPv6 and NetPacket::PFLog
-        as the license of the patch clashes with the license of the
-        distribution. (RT#62197)
-
-0.43.2    2010-10-11 21:21:23 America/Montreal
-    * Change the COPYRIGHT sections of the pods to match the Artistic 2.0
-        license. (RT#60954)
-
-0.43.1    2010-06-11 21:45:15 America/Montreal
-    * Change a test to use explicit number of tests instead of 'done_testing'.
-
-0.43.0  May 23rd, 2010
-    * Fixed UDP checksum. Thanks to Hal Finkel. (RT#56235)
-    * Added Joel Knight's code for IPv6 support from 
-        http://www.packetmischief.ca/code/netpacket/. 
-        Thanks to Doug Farley for the bug report. (RT#57560)
-
-0.42.0 March 25th, 2010
-    * Updated license to Artistic 2.0
-    * Fixed bad call to 'data()' in ICMP. Thanks to Ventz Petkov.
-        (RT#52627)
-
-0.41.1
-    * Fixed bug 37931: export of ICMP_MASKREQ
-    * Fixed UDP and TCP checksums for odd-sized packets
-    * Fixed import from NetPacket::UDP
-    * Fixed bug 37931: export of ICMP_MASKREQ
-    * Added git repo and bug tracking info to META.yml
+1.2.0 2011-07-26
+ [ENHANCEMENTS]
+ - Add support for Ethernet VLAN (thanks to Kai Chan)
+
+1.1.2 2011-06-20
+ [BUG FIXES]
+ - Add a INSTALL file
+
+1.1.1 2011-02-07
+ - Add the new Ethernet types to the export list.  (thanks to Sergey, again
+   :-) ) (RT#64799)
+
+1.1.0 2011-01-15
+ - Add a few Ethernet types. (thanks to Sergey) (RT#64799)
+
+1.0.1 2010-10-19
+ - Make the example verbatim in pod in NetPacket::UDP (rt#62097)
+
+1.0.0 2010-10-17
+ - Remove modules NetPacket::ICMPv6, NetPacket::IPv6 and NetPacket::PFLog
+   as the license of the patch clashes with the license of the
+   distribution. (RT#62197)
 
 0.41_0
-    * Fixed bug 18941 - NetPacket::IP includes trailing 
-        trash bytes in $ip->{data}
-    * Fixed bug 7010 - IP flags field lost in IP::encode()
-    * Added Build.PL 
-    * Moved history off the README file into this one (Changes)
-    * Moved module structure to /lib
-    * Version now gathered from NetPacket.pm
-    * META.yml added to MANIFEST
-    * Added myself (Yanick) as author
-    * Switched to major.minor.revision version notation
+ - Fixed bug 18941 - NetPacket::IP includes trailing  trash bytes in
+   $ip->{data}
+ - Fixed bug 7010 - IP flags field lost in IP::encode()
+ - Added Build.PL 
+ - Moved history off the README file into this one (Changes)
+ - Moved module structure to /lib
+ - Version now gathered from NetPacket.pm
+ - META.yml added to MANIFEST
+ - Added myself (Yanick) as author
+ - Switched to major.minor.revision version notation
+
+0.43.2 2010-10-11
+ - Change the COPYRIGHT sections of the pods to match the Artistic 2.0
+   license. (RT#60954)
+
+0.43.1 2010-06-11
+ - Change a test to use explicit number of tests instead of 'done_testing'.
+
+0.43.0 2010-05-23
+ - Fixed UDP checksum. Thanks to Hal Finkel. (RT#56235)
+ - Added Joel Knight's code for IPv6 support from 
+   http://www.packetmischief.ca/code/netpacket/.  Thanks to Doug Farley for
+   the bug report. (RT#57560)
+
+0.42.0 2010-03-25
+ - Updated license to Artistic 2.0
+ - Fixed bad call to 'data()' in ICMP. Thanks to Ventz Petkov. (RT#52627)
+
+0.41.1
+ - Fixed bug 37931: export of ICMP_MASKREQ
+ - Fixed UDP and TCP checksums for odd-sized packets
+ - Fixed import from NetPacket::UDP
+ - Fixed bug 37931: export of ICMP_MASKREQ
+ - Added git repo and bug tracking info to META.yml
 
 0.04
-    * Checksum offset fix, thanks to J. Hoagland for pointing this out.
+ - Checksum offset fix, thanks to J. Hoagland for pointing this out.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/INSTALL new/NetPacket-1.2.0/INSTALL
--- old/NetPacket-1.1.1/INSTALL 1970-01-01 01:00:00.000000000 +0100
+++ new/NetPacket-1.2.0/INSTALL 2011-07-27 03:04:33.000000000 +0200
@@ -0,0 +1,44 @@
+
+This is the Perl distribution NetPacket.
+
+Installing NetPacket is straightforward.
+
+## Installation with cpanm
+
+If you have cpanm, you only need one line:
+
+    % cpanm NetPacket
+
+If you are installing into a system-wide directory, you may need to pass the
+"-S" flag to cpanm, which uses sudo to install the module:
+
+    % cpanm -S NetPacket
+
+## Installing with the CPAN shell
+
+Alternatively, if your CPAN shell is set up, you should just be able to do:
+
+    % cpan NetPacket
+
+## Manual installation
+
+As a last resort, you can manually install it. Download the tarball, untar it,
+then build it:
+
+    % perl Build.PL
+    % ./Build && ./Build test
+
+Then install it:
+
+    % ./Build install
+
+If you are installing into a system-wide directory, you may need to run:
+
+    % sudo ./Build install
+
+## Documentation
+
+NetPacket documentation is available as POD.
+You can run perldoc from a shell to read the documentation:
+
+    % perldoc NetPacket
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/MANIFEST new/NetPacket-1.2.0/MANIFEST
--- old/NetPacket-1.1.1/MANIFEST        2011-02-08 01:34:51.000000000 +0100
+++ new/NetPacket-1.2.0/MANIFEST        2011-07-27 03:04:33.000000000 +0200
@@ -1,5 +1,6 @@
 Build.PL
 Changes
+INSTALL
 LICENSE
 MANIFEST
 META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/META.json 
new/NetPacket-1.2.0/META.json
--- old/NetPacket-1.1.1/META.json       2011-02-08 01:34:51.000000000 +0100
+++ new/NetPacket-1.2.0/META.json       2011-07-27 03:04:33.000000000 +0200
@@ -42,35 +42,35 @@
    "provides" : {
       "NetPacket" : {
          "file" : "lib/NetPacket.pm",
-         "version" : "v1.1.1"
+         "version" : "v1.2.0"
       },
       "NetPacket::ARP" : {
          "file" : "lib/NetPacket/ARP.pm",
-         "version" : "v1.1.1"
+         "version" : "v1.2.0"
       },
       "NetPacket::Ethernet" : {
          "file" : "lib/NetPacket/Ethernet.pm",
-         "version" : "v1.1.1"
+         "version" : "v1.2.0"
       },
       "NetPacket::ICMP" : {
          "file" : "lib/NetPacket/ICMP.pm",
-         "version" : "v1.1.1"
+         "version" : "v1.2.0"
       },
       "NetPacket::IGMP" : {
          "file" : "lib/NetPacket/IGMP.pm",
-         "version" : "v1.1.1"
+         "version" : "v1.2.0"
       },
       "NetPacket::IP" : {
          "file" : "lib/NetPacket/IP.pm",
-         "version" : "v1.1.1"
+         "version" : "v1.2.0"
       },
       "NetPacket::TCP" : {
          "file" : "lib/NetPacket/TCP.pm",
-         "version" : "v1.1.1"
+         "version" : "v1.2.0"
       },
       "NetPacket::UDP" : {
          "file" : "lib/NetPacket/UDP.pm",
-         "version" : "v1.1.1"
+         "version" : "v1.2.0"
       }
    },
    "release_status" : "stable",
@@ -86,7 +86,7 @@
          "web" : "http://github.com/yanick/netpacket/tree";
       }
    },
-   "version" : "1.1.1",
+   "version" : "1.2.0",
    "x_authority" : "cpan:yanick"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/META.yml new/NetPacket-1.2.0/META.yml
--- old/NetPacket-1.1.1/META.yml        2011-02-08 01:34:51.000000000 +0100
+++ new/NetPacket-1.2.0/META.yml        2011-07-27 03:04:33.000000000 +0200
@@ -20,28 +20,28 @@
 provides:
   NetPacket:
     file: lib/NetPacket.pm
-    version: v1.1.1
+    version: v1.2.0
   NetPacket::ARP:
     file: lib/NetPacket/ARP.pm
-    version: v1.1.1
+    version: v1.2.0
   NetPacket::Ethernet:
     file: lib/NetPacket/Ethernet.pm
-    version: v1.1.1
+    version: v1.2.0
   NetPacket::ICMP:
     file: lib/NetPacket/ICMP.pm
-    version: v1.1.1
+    version: v1.2.0
   NetPacket::IGMP:
     file: lib/NetPacket/IGMP.pm
-    version: v1.1.1
+    version: v1.2.0
   NetPacket::IP:
     file: lib/NetPacket/IP.pm
-    version: v1.1.1
+    version: v1.2.0
   NetPacket::TCP:
     file: lib/NetPacket/TCP.pm
-    version: v1.1.1
+    version: v1.2.0
   NetPacket::UDP:
     file: lib/NetPacket/UDP.pm
-    version: v1.1.1
+    version: v1.2.0
 requires:
   constant: 0
   vars: 0
@@ -49,5 +49,5 @@
   bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=NetPacket
   homepage: http://search.cpan.org/dist/NetPacket/
   repository: git://github.com/yanick/netpacket.git
-version: 1.1.1
+version: 1.2.0
 x_authority: cpan:yanick
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/README new/NetPacket-1.2.0/README
--- old/NetPacket-1.1.1/README  2011-02-08 01:34:51.000000000 +0100
+++ new/NetPacket-1.2.0/README  2011-07-27 03:04:33.000000000 +0200
@@ -2,7 +2,7 @@
     NetPacket - assemble/disassemble network packets at the protocol level
 
 VERSION
-    version 1.1.1
+    version 1.2.0
 
 SYNOPSIS
         # NetPacket is a base class only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/README.mkdn 
new/NetPacket-1.2.0/README.mkdn
--- old/NetPacket-1.1.1/README.mkdn     2011-02-08 01:34:51.000000000 +0100
+++ new/NetPacket-1.2.0/README.mkdn     2011-07-27 03:04:33.000000000 +0200
@@ -4,7 +4,7 @@
 
 # VERSION
 
-version 1.1.1
+version 1.2.0
 
 # SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/SIGNATURE 
new/NetPacket-1.2.0/SIGNATURE
--- old/NetPacket-1.1.1/SIGNATURE       2011-02-08 01:35:47.000000000 +0100
+++ new/NetPacket-1.2.0/SIGNATURE       2011-07-27 03:05:17.000000000 +0200
@@ -14,22 +14,23 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 0a7199fb50ef86de8ae605b143ef8a0c641f0c3c Build.PL
-SHA1 2c7b475d50b047276a8f2607b6ec2d521f76c6c4 Changes
+SHA1 9fcf135d0e07b435c1e4079dd87ff4e687198654 Build.PL
+SHA1 65087ea5b61338a8d8633e5ab53256477f49b2ca Changes
+SHA1 29b0b7b9d088441a05d8786d0dc4bb3bd558d205 INSTALL
 SHA1 fa6e44d3372502992b6f871b615edc033606b2d7 LICENSE
-SHA1 9ab41842507804afb2b78dd5acc97abaec025285 MANIFEST
-SHA1 1af6765ffa7b9b2a95523d0a5076c63ec4c86deb META.json
-SHA1 b42adf2aa231d28c2794ddab961180417718c5e1 META.yml
-SHA1 94695da71065efa32461764e4dc9993bbd701ac7 README
-SHA1 0460a71fcf0be381ec4f4830d74d050c3f75080d README.mkdn
-SHA1 53e55f7958c02a7c6237ab2eb0bd4650f51d375e lib/NetPacket.pm
-SHA1 b5ab96225df5d7c18eed927c476469755c5c1dd4 lib/NetPacket/ARP.pm
-SHA1 ee0e9328196eebe42fa1505ea805048a62399146 lib/NetPacket/Ethernet.pm
-SHA1 28d4be33d7f3683f28312c6e6625c6003df6ddfc lib/NetPacket/ICMP.pm
-SHA1 5f4bb4e826e6b424bfb6fb611d83a65f94053b5a lib/NetPacket/IGMP.pm
-SHA1 8ee7a1707896dad55d70020e79b41acd279ff380 lib/NetPacket/IP.pm
-SHA1 39e2f31ae8fe20045366d10df1c8fe1b11f41f84 lib/NetPacket/TCP.pm
-SHA1 d829bad34a3bde7c5d8f01893b31152d2d472a61 lib/NetPacket/UDP.pm
+SHA1 478b16e5cba6c6811d80345400e08f98893f8034 MANIFEST
+SHA1 b85cc6d66d585b6851111124d2509ccfb6072816 META.json
+SHA1 8111dcf39d0d31276b4c5990bbae6d66b7b32770 META.yml
+SHA1 0c6963c11f8aaed52a562503072bc5e9013a9868 README
+SHA1 a976b5b7a6ea4cc835029d6dd1c90e74e7af2ea4 README.mkdn
+SHA1 dc3d6f608a07eac9a349ccefeac090808e20315c lib/NetPacket.pm
+SHA1 a889640b16d3ea0cbf2b248687abd0cf024c3bf0 lib/NetPacket/ARP.pm
+SHA1 872afd6e0352a76629732f705e556fe9df87718a lib/NetPacket/Ethernet.pm
+SHA1 0c8d467ac4c717a5a90e46a926780050054a7666 lib/NetPacket/ICMP.pm
+SHA1 f8b0d335e25c82e987970f938636cfef5ce95ae5 lib/NetPacket/IGMP.pm
+SHA1 a810c5b56396606c07d4ec004c9e8446ca633c93 lib/NetPacket/IP.pm
+SHA1 fedec0973bbf28311f921aa4674aa7f8b989c9ba lib/NetPacket/TCP.pm
+SHA1 128d59aad300c4d1d282343060b5610548e20be1 lib/NetPacket/UDP.pm
 SHA1 050aa113e828a52db3c86065c0c0ed50198b7ce8 t/000-report-versions.t
 SHA1 2f95a288a42eed0173859c5bb9d37caee7e4b26b t/bug-37931.t
 SHA1 721a206d861139f8f73081b8d337bfcdce4247e5 t/checksum.t
@@ -41,9 +42,9 @@
 SHA1 4ee10569d37d2463ffe0a89771607ad32031f4d2 t/tcp.t
 SHA1 540bff42594ee78beb63a7316a4478bc58d7e37b t/udp-checksum.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.10 (GNU/Linux)
+Version: GnuPG v1.4.11 (GNU/Linux)
 
-iEYEARECAAYFAk1Qj6sACgkQ34Hwf+GwC4wr6ACaAp75h5iTZMADb/ie2ijXGweZ
-sW4An0v6a1PaDCrDDTq7fU3QZFc9zDpK
-=gnqa
+iEYEARECAAYFAk4vZCIACgkQ34Hwf+GwC4yKnQCg+D0YxcNpEOXaPiwsW9H4YdVn
+lakAniIMH6xX/JCzk8n2IUYnU97585pH
+=NkZ4
 -----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/lib/NetPacket/ARP.pm 
new/NetPacket-1.2.0/lib/NetPacket/ARP.pm
--- old/NetPacket-1.1.1/lib/NetPacket/ARP.pm    2011-02-08 01:34:51.000000000 
+0100
+++ new/NetPacket-1.2.0/lib/NetPacket/ARP.pm    2011-07-27 03:04:33.000000000 
+0200
@@ -3,7 +3,7 @@
   $NetPacket::ARP::AUTHORITY = 'cpan:yanick';
 }
 BEGIN {
-  $NetPacket::ARP::VERSION = '1.1.1';
+  $NetPacket::ARP::VERSION = '1.2.0';
 }
 # ABSTRACT: Assemble and disassemble ARP (Address Resolution Protocol) packets.
 
@@ -114,7 +114,7 @@
 
 =head1 VERSION
 
-version 1.1.1
+version 1.2.0
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/lib/NetPacket/Ethernet.pm 
new/NetPacket-1.2.0/lib/NetPacket/Ethernet.pm
--- old/NetPacket-1.1.1/lib/NetPacket/Ethernet.pm       2011-02-08 
01:34:51.000000000 +0100
+++ new/NetPacket-1.2.0/lib/NetPacket/Ethernet.pm       2011-07-27 
03:04:33.000000000 +0200
@@ -3,7 +3,7 @@
   $NetPacket::Ethernet::AUTHORITY = 'cpan:yanick';
 }
 BEGIN {
-  $NetPacket::Ethernet::VERSION = '1.1.1';
+  $NetPacket::Ethernet::VERSION = '1.2.0';
 }
 # ABSTRACT: Assemble and disassemble ethernet packets.
 
@@ -54,6 +54,14 @@
 use constant ETH_TYPE_PPPOES    => 0x8864;
 
 #
+# VLAN Tag field masks
+#
+
+use constant VLAN_MASK_PCP => 0xE000;
+use constant VLAN_MASK_CFI => 0x1000;
+use constant VLAN_MASK_VID => 0x0FFF;
+
+#
 # Decode the packet
 #
 
@@ -71,16 +79,30 @@
 
     if (defined($pkt)) {
 
-       my($sm_lo, $sm_hi, $dm_lo, $dm_hi);
+        my($sm_lo, $sm_hi, $dm_lo, $dm_hi, $tcid);
+
+        ($dm_hi, $dm_lo, $sm_hi, $sm_lo, $self->{type}) = unpack('NnNnn' ,
+$pkt);
 
-       ($dm_hi, $dm_lo, $sm_hi, $sm_lo, $self->{type}, $self->{data}) = 
-           unpack('NnNnna*' , $pkt);
+        # Check for 802.1Q VLAN tag and unpack to account for 4-byte offset
+        if ($self->{type} == ETH_TYPE_802_1Q) {
+            $self->{tpid} = ETH_TYPE_802_1Q;
+
+            ( $tcid, $self->{type}, $self->{data} ) = unpack('x14nna*' , $pkt);
+
+            # Break down VLAN tag TCI into: PCP, CFI, VID
+            $self->{pcp} = $tcid & VLAN_MASK_PCP >> 13;
+            $self->{cfi} = $tcid & VLAN_MASK_CFI >> 12;
+            $self->{vid} = $tcid & VLAN_MASK_VID;
+        }
+        else {
+            ( $self->{data} ) = unpack('x14a*' , $pkt);
+        }
 
-       # Convert MAC addresses to hex string to avoid representation
-       # problems
+        # Convert MAC addresses to hex string to avoid representation problems
 
-       $self->{src_mac} = sprintf("%08x%04x", $sm_hi, $sm_lo);
-       $self->{dest_mac} = sprintf("%08x%04x", $dm_hi, $dm_lo);
+        $self->{src_mac} = sprintf "%08x%04x", $sm_hi, $sm_lo;
+        $self->{dest_mac} = sprintf "%08x%04x", $dm_hi, $dm_lo;
     }
 
     # Return a blessed object
@@ -129,7 +151,7 @@
 
 =head1 VERSION
 
-version 1.1.1
+version 1.2.0
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/lib/NetPacket/ICMP.pm 
new/NetPacket-1.2.0/lib/NetPacket/ICMP.pm
--- old/NetPacket-1.1.1/lib/NetPacket/ICMP.pm   2011-02-08 01:34:51.000000000 
+0100
+++ new/NetPacket-1.2.0/lib/NetPacket/ICMP.pm   2011-07-27 03:04:33.000000000 
+0200
@@ -3,7 +3,7 @@
   $NetPacket::ICMP::AUTHORITY = 'cpan:yanick';
 }
 BEGIN {
-  $NetPacket::ICMP::VERSION = '1.1.1';
+  $NetPacket::ICMP::VERSION = '1.2.0';
 }
 # ABSTRACT: Assemble and disassemble ICMP (Internet Control Message Protocol) 
packets. 
 
@@ -158,7 +158,7 @@
 
 =head1 VERSION
 
-version 1.1.1
+version 1.2.0
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/lib/NetPacket/IGMP.pm 
new/NetPacket-1.2.0/lib/NetPacket/IGMP.pm
--- old/NetPacket-1.1.1/lib/NetPacket/IGMP.pm   2011-02-08 01:34:51.000000000 
+0100
+++ new/NetPacket-1.2.0/lib/NetPacket/IGMP.pm   2011-07-27 03:04:33.000000000 
+0200
@@ -7,7 +7,7 @@
   $NetPacket::IGMP::AUTHORITY = 'cpan:yanick';
 }
 BEGIN {
-  $NetPacket::IGMP::VERSION = '1.1.1';
+  $NetPacket::IGMP::VERSION = '1.2.0';
 }
 # ABSTRACT: Assemble and disassemble IGMP (Internet Group Mangement Protocol) 
packets. 
 
@@ -156,7 +156,7 @@
 
 =head1 VERSION
 
-version 1.1.1
+version 1.2.0
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/lib/NetPacket/IP.pm 
new/NetPacket-1.2.0/lib/NetPacket/IP.pm
--- old/NetPacket-1.1.1/lib/NetPacket/IP.pm     2011-02-08 01:34:51.000000000 
+0100
+++ new/NetPacket-1.2.0/lib/NetPacket/IP.pm     2011-07-27 03:04:33.000000000 
+0200
@@ -8,7 +8,7 @@
   $NetPacket::IP::AUTHORITY = 'cpan:yanick';
 }
 BEGIN {
-  $NetPacket::IP::VERSION = '1.1.1';
+  $NetPacket::IP::VERSION = '1.2.0';
 }
 # ABSTRACT: Assemble and disassemble IP (Internet Protocol) packets.
 
@@ -223,7 +223,7 @@
 
 =head1 VERSION
 
-version 1.1.1
+version 1.2.0
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/lib/NetPacket/TCP.pm 
new/NetPacket-1.2.0/lib/NetPacket/TCP.pm
--- old/NetPacket-1.1.1/lib/NetPacket/TCP.pm    2011-02-08 01:34:51.000000000 
+0100
+++ new/NetPacket-1.2.0/lib/NetPacket/TCP.pm    2011-07-27 03:04:33.000000000 
+0200
@@ -9,7 +9,7 @@
   $NetPacket::TCP::AUTHORITY = 'cpan:yanick';
 }
 BEGIN {
-  $NetPacket::TCP::VERSION = '1.1.1';
+  $NetPacket::TCP::VERSION = '1.2.0';
 }
 # ABSTRACT: Assemble and disassemble TCP (Transmission Control Protocol) 
packets.
 
@@ -199,7 +199,7 @@
 
 =head1 VERSION
 
-version 1.1.1
+version 1.2.0
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/lib/NetPacket/UDP.pm 
new/NetPacket-1.2.0/lib/NetPacket/UDP.pm
--- old/NetPacket-1.1.1/lib/NetPacket/UDP.pm    2011-02-08 01:34:51.000000000 
+0100
+++ new/NetPacket-1.2.0/lib/NetPacket/UDP.pm    2011-07-27 03:04:33.000000000 
+0200
@@ -7,7 +7,7 @@
   $NetPacket::UDP::AUTHORITY = 'cpan:yanick';
 }
 BEGIN {
-  $NetPacket::UDP::VERSION = '1.1.1';
+  $NetPacket::UDP::VERSION = '1.2.0';
 }
 # ABSTRACT: Assemble and disassemble UDP (User Datagram Protocol) packets.
 
@@ -147,7 +147,7 @@
 
 =head1 VERSION
 
-version 1.1.1
+version 1.2.0
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NetPacket-1.1.1/lib/NetPacket.pm 
new/NetPacket-1.2.0/lib/NetPacket.pm
--- old/NetPacket-1.1.1/lib/NetPacket.pm        2011-02-08 01:34:51.000000000 
+0100
+++ new/NetPacket-1.2.0/lib/NetPacket.pm        2011-07-27 03:04:33.000000000 
+0200
@@ -9,7 +9,7 @@
   $NetPacket::AUTHORITY = 'cpan:yanick';
 }
 BEGIN {
-  $NetPacket::VERSION = '1.1.1';
+  $NetPacket::VERSION = '1.2.0';
 }
 # ABSTRACT: assemble/disassemble network packets at the protocol level
 
@@ -117,7 +117,7 @@
 
 =head1 VERSION
 
-version 1.1.1
+version 1.2.0
 
 =head1 SYNOPSIS
 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to