Subject: | struct format for ofp_action_dl_addr missing short int |
Date: | Wed, 28 May 2014 22:33:57 -0400 |
To: | bug-Net-OpenFlow [...] rt.cpan.org |
From: | Grant McNaught <gmcnaugh [...] grnoc.iu.edu> |
Hello,
I noticed the below was an issue in the current Net/Openflow/Protocol.pm: With the current format all ofp_action_dl_addrs will have a length of 14.
--- Protocol.pm 2013-12-17 08:17:29.000000000 -0500
+++ Protocol-2.pm 2014-05-28 22:29:59.000000000 -0400
@@ -499,7 +499,7 @@
our $header_length = __PACKAGE__->struct_sizeof(0x01, q{ofp_header});
$struct_types->{'ofp_action_dl_addr'}{0x01} = {
- format => q{n H12 x6},
+ format => q{n n H12 x6},
length => 16,
};
Thanks,
Grant McNaught
Email: gmcnaugh@grnoc.iu.edu
Office: (317) 274-6650
Cell: (317)412-6273
Message body not shown because it is not plain text.