projects
/
perl-cwmp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
chomp serial number to remove LF which ZTE send
[perl-cwmp.git]
/
lib
/
CWMP
/
Request.pm
diff --git
a/lib/CWMP/Request.pm
b/lib/CWMP/Request.pm
index
99770fa
..
0cea935
100644
(file)
--- a/
lib/CWMP/Request.pm
+++ b/
lib/CWMP/Request.pm
@@
-31,6
+31,7
@@
our $rules = [
'ID' => sub {
my ($tag_name, $tag_hash, $context, $parent_data) = @_;
$state->{ID} = $tag_hash->{_content};
+ chomp( $state->{ID} );
},
'DeviceId' => sub {