jhthorsen / docsis-configfile

Perl module that decodes and encodes DOCSIS config-files
https://metacpan.org/release/DOCSIS-ConfigFile
11 stars 3 forks source link

ip parameter #11

Closed vicMolina closed 6 years ago

vicMolina commented 6 years ago

When I try to encode my file with this parameter SwUpgradeServer => 192.168.60.10, the program send me this error ip({ value => è=ü }) does not match (?^:^(?:\d{1,3}.){3}\d{1,3}$) at /usr/local/share/perl/5.22.1/DOCSIS/ConfigFile/Encode.pm line 484.

If I use TftpModemAddress => 192.168.60.10, I get the same error.

I'm using the follow guide: https://metacpan.org/pod/DOCSIS::ConfigFile::Syminfo#CONFIGURATION-TREE

thank you

Regards

jhthorsen commented 6 years ago

Just to be sure, do you quote that address..? I think it should work:

https://github.com/jhthorsen/docsis-configfile/blob/266196188ad7ceab756104c05455ef1bece704e5/t/complex.t#L175

vicMolina commented 6 years ago

Thank's very much