X-Git-Url: http://git.rot13.org/?p=perl-cwmp.git;a=blobdiff_plain;f=lib%2FCWMP%2FStore.pm;h=c5b5da9e1f128cde1d2137f07fefe4be5935c1ac;hp=6d9a784bd78e4d12dd57f82bc5b5c03e2ec56cc5;hb=2a160ed8a417ac8d2f7aefa32db9046980362a2c;hpb=04917fa7784026285262046d569e0bb0347bad73 diff --git a/lib/CWMP/Store.pm b/lib/CWMP/Store.pm index 6d9a784..c5b5da9 100644 --- a/lib/CWMP/Store.pm +++ b/lib/CWMP/Store.pm @@ -139,6 +139,7 @@ sub state_to_uid { my $uid = $state->{DeviceID}->{SerialNumber} || confess "no DeviceID.SerialNumber in ",dump( $state ); + chomp($uid); return $uid; }