Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to encode IPv6 address #57

Open
jianiau opened this issue Jul 16, 2017 · 1 comment
Open

Fail to encode IPv6 address #57

jianiau opened this issue Jul 16, 2017 · 1 comment

Comments

@jianiau
Copy link

jianiau commented Jul 16, 2017

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.
@rlaager
Copy link
Owner

rlaager commented Jul 17, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants