docsis
docsis copied to clipboard
Fail to encode IPv6 address
If the IPv6 address use IPv4-mapped IPv6 address: ::ffff:a.b.c.d/96 for example: ::ffff:1.2.3.4
It will get syntax error 3:syntax error token .2.3.4 Error parsing config file ddd
Test step:
- encode text file to cm ocnfig (::FFFF:102:304 = ::FFFF:1.2.3.3) Main { SwUpgradeServer6 ::FFFF:102:304 ; }
The output is Main { SwUpgradeServer6 ::ffff:1.2.3.4; /* CmMic 3510888c30355a1f3b4211cae90c99b1; / / CmtsMic 16ea3fa0d43e1a0914f4ca77061c6770; */ /EndOfDataMkr/ }
- Use the output text (or decode the output file to text) to encode again. The error will happen.
Just to set expectations correctly, this project is not getting much active maintenance. Patches are certainly welcome.