docsis icon indicating copy to clipboard operation
docsis copied to clipboard

Fail to encode IPv6 address

Open jianiau opened this issue 7 years ago • 1 comments

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:

  1. 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/ }

  1. Use the output text (or decode the output file to text) to encode again. The error will happen.

jianiau avatar Jul 16 '17 10:07 jianiau

Just to set expectations correctly, this project is not getting much active maintenance. Patches are certainly welcome.

rlaager avatar Jul 17 '17 02:07 rlaager