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

update/traffic: fix IPv6 translation #1003

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

rzalamena
Copy link
Contributor

Fix the following configuration parsing error:

configuration | error message: illegal IP address string passed to inet_pton

Fix the following configuration parsing error:

  configuration | error message: illegal IP address string passed to inet_pton
@rzalamena
Copy link
Contributor Author

This partially fixes #927 for ExaBGP 4.2.

@thomas-mangin
Copy link
Member

Hi @rzalamena - this patch looks good, how did you test it please ?

@rzalamena
Copy link
Contributor Author

@thomas-mangin using the configuration file from issue #1004 .

neighbor 10.0.1.1 {
router-id 10.0.1.101;
local-address 10.0.1.101;
local-as 100;
peer-as 100;
flow {
route {
match {
source 1.1.1.2/32;
destination 3.3.3.3/32;
packet-length <200;
}
then {
redirect 50.0.0.2;
rate-limit 55;
}
}
#end route 1
route {
match {
source 1::2/128/0;
destination 3::3/128/0;
packet-length <200;
}
then {
redirect 50::2;
rate-limit 55;
}
}
#end route 2
}
}

This line redirect 50::2; causes the parse failure.

Thanks for the quick responses!

@thomas-mangin thomas-mangin merged commit 9969f45 into Exa-Networks:4.2 Dec 3, 2020
@thomas-mangin
Copy link
Member

@rzalamena could you forward port the patch to master too please?

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

Successfully merging this pull request may close these issues.

2 participants