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

Fix IPv6 PD auto routing #2077

Closed
wants to merge 1 commit into from
Closed

Fix IPv6 PD auto routing #2077

wants to merge 1 commit into from

Conversation

marjohn56
Copy link
Member

Add the missing exec() calls.

@fichtner fichtner self-assigned this Jan 10, 2018
@@ -60,7 +60,8 @@
// echo "add routes\n";
if (count($routes) > 0) {
foreach ($routes as $address => $prefix) {
echo "/sbin/route change -inet6 {$prefix} {$address}\n";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm, I think this is it, "route change" was a custom patch a long time ago in a project far far away

fichtner added a commit that referenced this pull request Jan 10, 2018
@fichtner
Copy link
Member

fichtner commented Jan 10, 2018

Can you try c62f01f on master instead? We should still fix the command pipe in a bit, this is fishy... but first things first. Very nice catch!

@marjohn56
Copy link
Member Author

Appears to work. :)

Applied the patch, manually deleted the route on the primary, reset the secondary WAN and the lease is back...

@fichtner
Copy link
Member

Thank you, I'll weave in your original changes with the next commit. Very very good find. I owe you a pint. 👍

@fichtner fichtner closed this in 018bea3 Jan 10, 2018
@marjohn56 marjohn56 deleted the IPv6-Auto-routing-fix branch January 10, 2018 18:02
fichtner added a commit that referenced this pull request Jan 12, 2018
PR: #2077

(cherry picked from commit c62f01f)
(cherry picked from commit 018bea3)
(cherry picked from commit 639bc74)
(cherry picked from commit ceedb10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants